From da2c1997f74dfda2b3c303eb12e6fa50af649f6d Mon Sep 17 00:00:00 2001 From: les Date: Thu, 14 Nov 2019 12:22:04 +0100 Subject: [PATCH] [fix] debian install doc --- docs/_site/assets/js/search-data.json | 2 +- docs/_site/feed.xml | 2 +- docs/_site/install/debian.html | 2 +- docs/install/debian.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/_site/assets/js/search-data.json b/docs/_site/assets/js/search-data.json index 2effeb33..cab08cc9 100644 --- a/docs/_site/assets/js/search-data.json +++ b/docs/_site/assets/js/search-data.json @@ -16,7 +16,7 @@ "2": { "id": "2", "title": "Debian", - "content": "Debian installation Install Node.js & yarn (from root) curl -sL https://deb.nodesource.com/setup_12.x | bash - apt-get install -y nodejs curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list apt-get update && apt-get install yarn source Install Gancio yarn add gancio --prod Setup with postgreSQL (optional as you can choose sqlite) apt-get install postgresql # Create the database su postgres -c psql postgres=# create database gancio; postgres=# create user gancio with encrypted password 'gancio'; postgres=# grant all privileges on database gancio to gancio; Create a user to run gancio from adduser gancio su gancio Launch interactive setup gancio setup --config config.json Start gancio start --config config.json Point your web browser to http://localhost:13120 or where you selected during setup. Setup nginx as a proxy To deploy gancio in production you should use something like pm2: sudo yarn global add pm2 pm2 start gancio -- --config config.json # Run this command to run your application as a service and automatically restart after a reboot: pm2 startup # read the output! sudo pm2 startup -u gancio Upgrade sudo yarn global add gancio sudo service pm2 restart", + "content": "Debian installation Install Node.js & yarn (from root) curl -sL https://deb.nodesource.com/setup_12.x | bash - apt-get install -y nodejs curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list apt-get update && apt-get install yarn source Install Gancio yarn global add gancio --prod Setup with postgreSQL (optional as you can choose sqlite) apt-get install postgresql # Create the database su postgres -c psql postgres=# create database gancio; postgres=# create user gancio with encrypted password 'gancio'; postgres=# grant all privileges on database gancio to gancio; Create a user to run gancio from adduser gancio su gancio Launch interactive setup gancio setup --config config.json Start gancio start --config config.json Point your web browser to http://localhost:13120 or where you selected during setup. Setup nginx as a proxy To deploy gancio in production you should use something like pm2: sudo yarn global add pm2 pm2 start gancio -- --config config.json # Run this command to run your application as a service and automatically restart after a reboot: pm2 startup # read the output! sudo pm2 startup -u gancio Upgrade sudo yarn global add gancio sudo service pm2 restart", "url": "https://gancio.org/install/debian", "relUrl": "/install/debian" }, diff --git a/docs/_site/feed.xml b/docs/_site/feed.xml index 72e2b10b..5461bbc6 100644 --- a/docs/_site/feed.xml +++ b/docs/_site/feed.xml @@ -1 +1 @@ -Jekyll2019-11-13T11:03:35+01:00https://gancio.org/feed.xmlGancioA shared agenda for local communities \ No newline at end of file +Jekyll2019-11-14T12:21:49+01:00https://gancio.org/feed.xmlGancioA shared agenda for local communities \ No newline at end of file diff --git a/docs/_site/install/debian.html b/docs/_site/install/debian.html index de761841..a8d55671 100644 --- a/docs/_site/install/debian.html +++ b/docs/_site/install/debian.html @@ -287,7 +287,7 @@ apt-get update && apt-get instal

source

  • Install Gancio -
    yarn add gancio --prod
    +    
    yarn global add gancio --prod
     
  • Setup with postgreSQL (optional as you can choose sqlite) diff --git a/docs/install/debian.md b/docs/install/debian.md index 2ddf39e0..fde2aa40 100644 --- a/docs/install/debian.md +++ b/docs/install/debian.md @@ -19,7 +19,7 @@ apt-get update && apt-get install yarn 1. Install Gancio ```bash -yarn add gancio --prod +yarn global add gancio --prod ``` 1. Setup with postgreSQL __(optional as you can choose sqlite)__ @@ -66,4 +66,4 @@ sudo pm2 startup -u gancio ```bash sudo yarn global add gancio sudo service pm2 restart -``` \ No newline at end of file +```