update docs

This commit is contained in:
lesion 2019-07-27 13:04:06 +02:00
parent 10921a072f
commit 03d95a4ced
26 changed files with 137 additions and 128 deletions

View file

@ -95,7 +95,7 @@
<li class="navigation-list-item">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>

View file

@ -95,7 +95,7 @@
<li class="navigation-list-item">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>

BIN
docs/_site/assets/home1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

View file

@ -16,9 +16,9 @@
"2": {
"id": "2",
"title": "Classic",
"content": "Classic setup Install Node.js and postgreSQL curl -sL https://deb.nodesource.com/setup_12.x | bash - apt-get install -y nodejs postgresql source Install Gancio npm install --global gancio Create a database (optional as you can use sqlite, but recommended) sudo -u postgres psql postgres=# create database gancio; postgres=# create user gancio with encrypted password &#39;gancio&#39;; postgres=# grant all privileges on database gancio to gancio; Create a user to run gancio from adduser gancio su gancio Test &amp; launch interactive setup gancio --help gancio setup --config config.json Start gancio --help gancio start --config config.json Point your web browser to http://localhost:13120 or where you selected during setup. Setup nginx as a proxy Deploy in production If you dont use the docker way, in production you should use something like pm2: sudo npm install --global pm2 pm2 gancio start --config config.json",
"url": "https://gancio.org/setup/classic",
"relUrl": "/setup/classic"
"content": "Install Install Node.js and postgreSQL curl -sL https://deb.nodesource.com/setup_12.x | bash - apt-get install -y nodejs postgresql source Install Gancio npm install --global gancio Create a database (optional as you can use sqlite, but recommended) sudo -u postgres psql postgres=# create database gancio; postgres=# create user gancio with encrypted password &#39;gancio&#39;; postgres=# grant all privileges on database gancio to gancio; Create a user to run gancio from adduser gancio su gancio Test &amp; launch interactive setup gancio --help gancio setup --config config.json Start gancio --help gancio start --config config.json Point your web browser to http://localhost:13120 or where you selected during setup. Setup nginx as a proxy Deploy in production If you dont use the docker way, in production you should use something like pm2: sudo npm install --global pm2 pm2 gancio start --config config.json",
"url": "https://gancio.org/install/classic",
"relUrl": "/install/classic"
},
"3": {
"id": "3",
@ -45,8 +45,8 @@
"id": "6",
"title": "Docker",
"content": "Install with docker You do not need to clone the full repo as we distribute gancio via npm. Dockerfile and docker-compose.yml are the only needed files. Create a directory where everything related to gancio is stored (db, images, config) mkdir /opt/gancio cd /opt/gancio :information_source: you can choose a different directory of course Download docker-compose.yml and Dockerfile wget https://git.lattuga.net/cisti/gancio/raw/docker/docker/Dockerfile wget https://git.lattuga.net/cisti/gancio/raw/docker/docker/docker-compose.yml Create an empty configuration file touch config.json After first setup, you can modify this file and restart the container on your needs. Build docker image and launch interactive setup in one step docker-compose run --rm gancio gancio setup Run your container docker-compose up -d Setup nginx as a proxy Point your web browser to http://localhost:13120 or where you specified during setup and enjoy :tada:",
"url": "https://gancio.org/setup/docker",
"relUrl": "/setup/docker"
"url": "https://gancio.org/install/docker",
"relUrl": "/install/docker"
},
"7": {
"id": "7",
@ -57,31 +57,31 @@
},
"8": {
"id": "8",
"title": "Install",
"content": "Install Classic install Using docker Nginx as a proxy Hacking &amp; contribute",
"url": "https://gancio.org/install",
"relUrl": "/install"
},
"9": {
"id": "9",
"title": "Instances",
"content": "Instances gancio.cisti.org (Torino, Italy) lapunta.org (Firenze, Italy)",
"url": "https://gancio.org/instances",
"relUrl": "/instances"
},
"9": {
"id": "9",
"10": {
"id": "10",
"title": "Migration",
"content": "Migration If you need to modify the dbs structure while hacking, its super easy, just change server/api/models/. If you then decide that your changes are good for production, a sequelize migration is needed: Create a migration: ./node_modules/.bin/sequelize migration:generate --name your_migration",
"url": "https://gancio.org/dev/migration",
"relUrl": "/dev/migration"
},
"10": {
"id": "10",
"title": "Nginx",
"content": "Nginx proxy configuration This is the default nginx configuration for gancio, please modify at least the server_name and ssl_certificates path server { listen 80; listen [::]:80; server_name gancio.cisti.org; root /var/www/letsencrypt; location /.well-known/acme-challenge/ { allow all; } location / { return 301 https://$host$request_uri; } } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name gancio.cisti.org; ssl_protocols TLSv1.2; ssl_ciphers HIGH:!MEDIUM:!LOW:!aNULL:!NULL:!SHA; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; # Uncomment these lines once you acquire a certificate: # ssl_certificate /etc/letsencrypt/live/gancio.cisti.org/fullchain.pem; # ssl_certificate_key /etc/letsencrypt/live/gancio.cisti.org/privkey.pem; keepalive_timeout 70; sendfile on; client_max_body_size 80m; gzip on; gzip_disable &quot;msie6&quot;; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; add_header Strict-Transport-Security &quot;max-age=31536000&quot;; location / { try_files $uri @proxy; } location @proxy { proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto https; proxy_set_header Proxy &quot;&quot;; proxy_pass_header Server; proxy_pass http://127.0.0.1:13120; proxy_buffering on; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; tcp_nodelay on; } }",
"url": "https://gancio.org/setup/nginx",
"relUrl": "/setup/nginx"
},
"11": {
"id": "11",
"title": "Setup",
"content": "Setup Setup with docker Classic setup Nginx as a proxy Hacking &amp; contribute",
"url": "https://gancio.org/setup",
"relUrl": "/setup"
"title": "Nginx",
"content": "Nginx proxy configuration This is the default nginx configuration for gancio, please modify at least the server_name and ssl_certificates path. Note that this does not include a cache configuration and that gancio does not use a cache control at all, if you can help with this task youre welcome. server { listen 80; listen [::]:80; server_name gancio.cisti.org; root /var/www/letsencrypt; location /.well-known/acme-challenge/ { allow all; } location / { return 301 https://$host$request_uri; } } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name gancio.cisti.org; ssl_protocols TLSv1.2; ssl_ciphers HIGH:!MEDIUM:!LOW:!aNULL:!NULL:!SHA; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; # Uncomment these lines once you acquire a certificate: # ssl_certificate /etc/letsencrypt/live/gancio.cisti.org/fullchain.pem; # ssl_certificate_key /etc/letsencrypt/live/gancio.cisti.org/privkey.pem; keepalive_timeout 70; sendfile on; client_max_body_size 80m; gzip on; gzip_disable &quot;msie6&quot;; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; add_header Strict-Transport-Security &quot;max-age=31536000&quot;; location / { try_files $uri @proxy; } location @proxy { proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto https; proxy_set_header Proxy &quot;&quot;; proxy_pass_header Server; proxy_pass http://127.0.0.1:13120; proxy_buffering on; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; tcp_nodelay on; } }",
"url": "https://gancio.org/install/nginx",
"relUrl": "/install/nginx"
},
"12": {
"id": "12",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -95,7 +95,7 @@
<li class="navigation-list-item">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>

View file

@ -95,7 +95,7 @@
<li class="navigation-list-item">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>

View file

@ -95,7 +95,7 @@
<li class="navigation-list-item">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>

View file

@ -95,7 +95,7 @@
<li class="navigation-list-item">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>

View file

@ -95,7 +95,7 @@
<li class="navigation-list-item">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>

View file

@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="https://gancio.org/feed.xml" rel="self" type="application/atom+xml" /><link href="https://gancio.org/" rel="alternate" type="text/html" /><updated>2019-07-26T23:46:47+02:00</updated><id>https://gancio.org/feed.xml</id><title type="html">Gancio</title><subtitle>A shared agenda for local communities</subtitle></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="https://gancio.org/feed.xml" rel="self" type="application/atom+xml" /><link href="https://gancio.org/" rel="alternate" type="text/html" /><updated>2019-07-27T13:03:35+02:00</updated><id>https://gancio.org/feed.xml</id><title type="html">Gancio</title><subtitle>A shared agenda for local communities</subtitle></feed>

View file

@ -97,7 +97,7 @@
<li class="navigation-list-item">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -107,7 +107,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -115,7 +115,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -125,7 +125,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>
@ -252,10 +252,10 @@
<p class="fs-6">A shared agenda for local communities.</p>
<p><a href="setup" class="btn btn-primary fs-5 mb-4 mb-md-0 mr-2">Get started now</a> <a href="https://demo.gancio.org" class="btn btn-green fs-5 mb-4 mb-md-0">Demo</a>
<p><a href="install" class="btn btn-primary fs-5 mb-4 mb-md-0 mr-2">Get started now</a> <a href="https://demo.gancio.org" class="btn btn-green fs-5 mb-4 mb-md-0">Demo</a>
<a href="https://git.lattuga.net/cisti/gancio" class="btn fs-5">Source</a></p>
<iframe width="800" height="500" sandbox="allow-same-origin allow-scripts" src="https://spacepub.space/videos/embed/9745bffc-e1e8-416d-9b08-fbc5e4c803b3?muted=1&amp;title=0" frameborder="0" allowfullscreen=""></iframe>
<p><img src="assets/home1.png" alt="screenshoot"></p>
<h3 id="about-the-project">About the project</h3>

View file

@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>Setup - Gancio</title>
<title>Install - Gancio</title>
@ -25,17 +25,17 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Begin Jekyll SEO tag v2.6.1 -->
<title>Setup | Gancio</title>
<title>Install | Gancio</title>
<meta name="generator" content="Jekyll v3.8.6" />
<meta property="og:title" content="Setup" />
<meta property="og:title" content="Install" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="A shared agenda for local communities" />
<meta property="og:description" content="A shared agenda for local communities" />
<link rel="canonical" href="https://gancio.org/setup" />
<meta property="og:url" content="https://gancio.org/setup" />
<link rel="canonical" href="https://gancio.org/install" />
<meta property="og:url" content="https://gancio.org/install" />
<meta property="og:site_name" content="Gancio" />
<script type="application/ld+json">
{"@type":"WebPage","url":"https://gancio.org/setup","headline":"Setup","description":"A shared agenda for local communities","@context":"https://schema.org"}</script>
{"@type":"WebPage","url":"https://gancio.org/install","headline":"Install","description":"A shared agenda for local communities","@context":"https://schema.org"}</script>
<!-- End Jekyll SEO tag -->
</head>
@ -95,7 +95,7 @@
<li class="navigation-list-item active">
<a href="https://gancio.org/setup" class="navigation-list-link active">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link active">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>
@ -246,11 +246,11 @@
<div id="main-content" class="page-content" role="main">
<h1 id="setup">Setup</h1>
<h1 id="install">Install</h1>
<ul>
<li><a href="docker">Setup with docker</a></li>
<li><a href="classic">Classic setup</a></li>
<li><a href="classic">Classic install</a></li>
<li><a href="docker">Using docker</a></li>
<li><a href="nginx">Nginx as a proxy</a></li>
<li><a href="../dev">Hacking &amp; contribute</a></li>
</ul>

View file

@ -31,11 +31,11 @@
<meta property="og:locale" content="en_US" />
<meta name="description" content="A shared agenda for local communities" />
<meta property="og:description" content="A shared agenda for local communities" />
<link rel="canonical" href="https://gancio.org/setup/classic" />
<meta property="og:url" content="https://gancio.org/setup/classic" />
<link rel="canonical" href="https://gancio.org/install/classic" />
<meta property="og:url" content="https://gancio.org/install/classic" />
<meta property="og:site_name" content="Gancio" />
<script type="application/ld+json">
{"@type":"WebPage","url":"https://gancio.org/setup/classic","headline":"Classic","description":"A shared agenda for local communities","@context":"https://schema.org"}</script>
{"@type":"WebPage","url":"https://gancio.org/install/classic","headline":"Classic","description":"A shared agenda for local communities","@context":"https://schema.org"}</script>
<!-- End Jekyll SEO tag -->
</head>
@ -95,7 +95,7 @@
<li class="navigation-list-item active">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item active">
<a href="https://gancio.org/setup/classic" class="navigation-list-link active">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link active">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>
@ -247,7 +247,7 @@
<nav class="breadcrumb-nav">
<ol class="breadcrumb-nav-list">
<li class="breadcrumb-nav-list-item"><a href="https://gancio.org/setup">Setup</a></li>
<li class="breadcrumb-nav-list-item"><a href="https://gancio.org/install">Install</a></li>
<li class="breadcrumb-nav-list-item"><span>Classic</span></li>
</ol>
@ -255,7 +255,7 @@
<div id="main-content" class="page-content" role="main">
<h2 id="classic-setup">Classic setup</h2>
<h2 id="install">Install</h2>
<ol>
<li>Install Node.js and postgreSQL

View file

@ -31,11 +31,11 @@
<meta property="og:locale" content="en_US" />
<meta name="description" content="A shared agenda for local communities" />
<meta property="og:description" content="A shared agenda for local communities" />
<link rel="canonical" href="https://gancio.org/setup/docker" />
<meta property="og:url" content="https://gancio.org/setup/docker" />
<link rel="canonical" href="https://gancio.org/install/docker" />
<meta property="og:url" content="https://gancio.org/install/docker" />
<meta property="og:site_name" content="Gancio" />
<script type="application/ld+json">
{"@type":"WebPage","url":"https://gancio.org/setup/docker","headline":"Docker","description":"A shared agenda for local communities","@context":"https://schema.org"}</script>
{"@type":"WebPage","url":"https://gancio.org/install/docker","headline":"Docker","description":"A shared agenda for local communities","@context":"https://schema.org"}</script>
<!-- End Jekyll SEO tag -->
</head>
@ -95,7 +95,7 @@
<li class="navigation-list-item active">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item active">
<a href="https://gancio.org/setup/docker" class="navigation-list-link active">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link active">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>
@ -248,7 +248,7 @@
<nav class="breadcrumb-nav">
<ol class="breadcrumb-nav-list">
<li class="breadcrumb-nav-list-item"><a href="https://gancio.org/setup">Setup</a></li>
<li class="breadcrumb-nav-list-item"><a href="https://gancio.org/install">Install</a></li>
<li class="breadcrumb-nav-list-item"><span>Docker</span></li>
</ol>

View file

@ -31,11 +31,11 @@
<meta property="og:locale" content="en_US" />
<meta name="description" content="A shared agenda for local communities" />
<meta property="og:description" content="A shared agenda for local communities" />
<link rel="canonical" href="https://gancio.org/setup/nginx" />
<meta property="og:url" content="https://gancio.org/setup/nginx" />
<link rel="canonical" href="https://gancio.org/install/nginx" />
<meta property="og:url" content="https://gancio.org/install/nginx" />
<meta property="og:site_name" content="Gancio" />
<script type="application/ld+json">
{"@type":"WebPage","url":"https://gancio.org/setup/nginx","headline":"Nginx","description":"A shared agenda for local communities","@context":"https://schema.org"}</script>
{"@type":"WebPage","url":"https://gancio.org/install/nginx","headline":"Nginx","description":"A shared agenda for local communities","@context":"https://schema.org"}</script>
<!-- End Jekyll SEO tag -->
</head>
@ -95,7 +95,7 @@
<li class="navigation-list-item active">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item active">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link active">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link active">Nginx</a>
</li>
@ -247,7 +247,7 @@
<nav class="breadcrumb-nav">
<ol class="breadcrumb-nav-list">
<li class="breadcrumb-nav-list-item"><a href="https://gancio.org/setup">Setup</a></li>
<li class="breadcrumb-nav-list-item"><a href="https://gancio.org/install">Install</a></li>
<li class="breadcrumb-nav-list-item"><span>Nginx</span></li>
</ol>
@ -256,7 +256,10 @@
<div id="main-content" class="page-content" role="main">
<h2 id="nginx-proxy-configuration">Nginx proxy configuration</h2>
<p>This is the default nginx configuration for gancio, please modify at least the <strong>server_name</strong> and <strong>ssl_certificate</strong>s path</p>
<p>This is the default nginx configuration for gancio, please modify at least the <strong>server_name</strong> and <strong>ssl_certificate</strong>s path.<br />
Note that this does not include a cache configuration and that gancio does
not use a cache control at all, if you can help with this task youre
welcome.</p>
<div class="language-nginx highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">server</span> <span class="p">{</span>
<span class="kn">listen</span> <span class="mi">80</span><span class="p">;</span>

View file

@ -95,7 +95,7 @@
<li class="navigation-list-item">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>

View file

@ -95,7 +95,7 @@
<li class="navigation-list-item">
<a href="https://gancio.org/setup" class="navigation-list-link">Setup</a>
<a href="https://gancio.org/install" class="navigation-list-link">Install</a>
<ul class="navigation-list-child-list ">
@ -105,7 +105,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/classic" class="navigation-list-link">Classic</a>
<a href="https://gancio.org/install/classic" class="navigation-list-link">Classic</a>
</li>
@ -113,7 +113,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/docker" class="navigation-list-link">Docker</a>
<a href="https://gancio.org/install/docker" class="navigation-list-link">Docker</a>
</li>
@ -123,7 +123,7 @@
<li class="navigation-list-item ">
<a href="https://gancio.org/setup/nginx" class="navigation-list-link">Nginx</a>
<a href="https://gancio.org/install/nginx" class="navigation-list-link">Nginx</a>
</li>

BIN
docs/assets/home1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -12,10 +12,11 @@ permalink: /
A shared agenda for local communities.
{: .fs-6 }
[Get started now](setup){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 } [Demo](https://demo.gancio.org){: .btn .btn-green .fs-5 .mb-4 .mb-md-0 }
[Get started now](install){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 } [Demo](https://demo.gancio.org){: .btn .btn-green .fs-5 .mb-4 .mb-md-0 }
[Source](https://git.lattuga.net/cisti/gancio){: .btn .fs-5 }
<iframe width="800" height="500" sandbox="allow-same-origin allow-scripts" src="https://spacepub.space/videos/embed/9745bffc-e1e8-416d-9b08-fbc5e4c803b3?muted=1&title=0" frameborder="0" allowfullscreen></iframe>
![screenshoot](assets/home1.png)
### About the project

View file

@ -1,11 +1,11 @@
---
layout: default
title: Classic
permalink: /setup/classic
parent: Setup
permalink: /install/classic
parent: Install
---
## Classic setup
## Install
1. Install Node.js and postgreSQL
```bash

View file

@ -1,8 +1,8 @@
---
layout: default
title: Docker
permalink: /setup/docker
parent: Setup
permalink: /install/docker
parent: Install
---
## Install with docker
@ -41,4 +41,4 @@ docker-compose up -d
1. [Setup nginx as a proxy](/setup/nginx)
1. Point your web browser to [http://localhost:13120](http://localhost:13120) or where you specified during setup and enjoy :tada:
1. Point your web browser to [http://localhost:13120](http://localhost:13120) or where you specified during setup and enjoy :tada:

16
docs/install/install.md Normal file
View file

@ -0,0 +1,16 @@
---
layout: default
title: Install
permalink: /install
has_children: true
nav_order: 2
has_toc: false
---
# Install
- [Classic install](classic)
- [Using docker](docker)
- [Nginx as a proxy](nginx)
- [Hacking & contribute](../dev)

View file

@ -1,12 +1,17 @@
---
layout: default
title: Nginx
permalink: /setup/nginx
parent: Setup
permalink: /install/nginx
parent: Install
---
## Nginx proxy configuration
This is the default nginx configuration for gancio, please modify at least the **server_name** and **ssl_certificate**'s path
This is the default nginx configuration for gancio, please modify at least the **server_name** and **ssl_certificate**'s path.
Note that this does not include a cache configuration and that gancio does
not use a cache control at all, if you can help with this task you're
welcome.
```nginx
server {
@ -68,4 +73,4 @@ server {
}
}
```
```

View file

@ -1,16 +0,0 @@
---
layout: default
title: Setup
permalink: /setup
has_children: true
nav_order: 2
has_toc: false
---
# Setup
- [Setup with docker](docker)
- [Classic setup](classic)
- [Nginx as a proxy](nginx)
- [Hacking & contribute](../dev)