Files
gancio/docs/setup/classic.md

45 lines
828 B
Markdown
Raw Normal View History

---
layout: default
title: Classic
2019-07-12 23:44:39 +02:00
permalink: /setup/classic
parent: Setup
---
## Classic setup
1. Install Node.js
```bash
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs
```
<small>[source](https://github.com/nodesource/distributions/blob/master/README.md)</small>
2. Install Gancio
```bash
npm install --global gancio
```
2019-07-15 23:35:59 +02:00
3. Create database (optional)
```sql
apt install postgresql
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;
```
2019-07-15 23:35:59 +02:00
4. Create a new user
```bash
2019-07-15 23:35:59 +02:00
adduser gancio
su gancio
```
2019-07-15 23:35:59 +02:00
5. Setup & test
```bash
2019-07-15 23:35:59 +02:00
gancio --help
gancio setup
gancio start
```
2019-07-15 23:35:59 +02:00
6. Enjoy :tada:
Point your web browser to [http://localhost:3000](http://localhost:3000)