update docs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: default
|
||||
title: Debian
|
||||
permalink: /install/debian
|
||||
nav_order: 1
|
||||
parent: Install
|
||||
---
|
||||
|
||||
@@ -9,7 +9,7 @@ parent: Install
|
||||
|
||||
1. Install Node.js & yarn (**from root**)
|
||||
```bash
|
||||
curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
curl -sL https://deb.nodesource.com/setup_16.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
|
||||
@@ -19,7 +19,7 @@ apt-get update && apt-get install yarn
|
||||
|
||||
1. Install Gancio
|
||||
```bash
|
||||
yarn global add gancio --prod
|
||||
yarn global add --silent https://gancio.org/latest.tgz 2> /dev/null
|
||||
```
|
||||
|
||||
1. Setup with postgreSQL __(optional as you can choose sqlite)__
|
||||
@@ -62,8 +62,8 @@ pm2 startup # read the output!
|
||||
sudo pm2 startup -u gancio
|
||||
```
|
||||
|
||||
1. Upgrade
|
||||
## Upgrade
|
||||
```bash
|
||||
sudo yarn global add gancio
|
||||
sudo yarn global add --silent https://gancio.org/latest.tgz 2> /dev/null
|
||||
sudo service pm2 restart
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user