404
+ +Page not found :(
+The requested page could not be found.
+diff --git a/docs/_site/404.html b/docs/_site/404.html new file mode 100644 index 00000000..6a8b385b --- /dev/null +++ b/docs/_site/404.html @@ -0,0 +1,254 @@ + + + +
+ + + + +Page not found :(
+The requested page could not be found.
+Main gancio configuration is done with a configuration file.
+This shoud be a .json or a .js file and could be specified using the --config flag.
gancio start --config ./config.jsonpm2 start gancio start -- --config ~/config.jsonThe title will be in rss feed, in html head and in emails:
+"title": "Gancio"

"description": "a shared agenda for local communities"
URL where your site will be accessible (include http or https):
+"baseurl": "https://gancio.cisti.org"
This probably support unix socket too :D
+"server": {
+ "host": "localhost",
+ "port": 13120
+}
+"db": {
+ "dialect": "sqlite",
+ "storage": "/tmp/db.sqlite"
+}
+Where to save images
+"upload_path": "./uploads"
You could specify another favicon
+"favicon": "./favicon.ico"
{
+ "title": "Gancio",
+ "description": "A shared agenda for local communities",
+ "baseurl": "http://localhost:13120",
+ "server": {
+ "host": "0.0.0.0",
+ "port": 13120
+ },
+ "db": {
+ "dialect": "sqlite",
+ "storage": "/tmp/db.sqlite"
+ },
+ "upload_path": "./",
+ "favicon": "../dist/favicon.ico",
+ "smtp": {
+ "auth": {
+ "user": "",
+ "pass": ""
+ },
+ "secure": true,
+ "host": ""
+ },
+ "admin": "",
+ "secret": "notsosecret"
+}
+Gancio is built with following technologies:
+ +git clone https://git.lattuga.net/cisti/gancio
+yarn
+yarn dev
+A shared agenda for local communities.
+ + + + + +Gancio is made with
by hacklab underscore
Gancio is distributed by an AGPL-3.0 Licence.
+ + + +curl -sL https://deb.nodesource.com/setup_12.x | bash -
+apt-get install -y nodejs postgresql
+npm install --global gancio
+sudo -u postgres psql
+postgres=# create database gancio;
+postgres=# create user gancio with encrypted password 'gancio';
+postgres=# grant all privileges on database gancio to gancio;
+adduser gancio
+su gancio
+gancio --help
+gancio setup --config config.json
+gancio --help
+gancio start --config config.json
+Point your web browser to http://localhost:13120 or where you selected during setup.
+sudo npm install --global pm2
+pm2 gancio start --config config.json
+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.
mkdir /opt/gancio
+cd /opt/gancio
+
you can choose a different directory of course
wget https://git.lattuga.net/cisti/gancio/raw/docker/docker/Dockerfile
+wget https://git.lattuga.net/cisti/gancio/raw/docker/docker/docker-compose.yml
+touch config.json
+After first setup, you can modify this file and restart the container on your needs.
+docker-compose run --rm gancio gancio setup
+docker-compose up -d
+This is the default nginx configuration for gancio, please modify at least the server_name and ssl_certificate’s 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 "msie6";
+ 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 "max-age=31536000";
+
+ location / {
+ try_files $uri @proxy;
+ }
+
+ location @proxy {
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-Proto https;
+ proxy_set_header Proxy "";
+ 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;
+ }
+}
+
+