README.md 611 Bytes
Newer Older
1 2 3 4 5 6
# Slogans generator

This project is the slogan generator used by LQDN for the donation compaign of years 2017-2018.

## Installation

7 8 9
The back-end server require node.js (v6.11.X), npm and cairo. To daemonize the backend, we're going to use pm2.

Here is the installation command for debian based systems:
10 11

```sh
12
apt install nodejs libcairo2-dev libjpeg62-turbo-dev librsvg2-dev libpango1.0-dev libgif-dev build-essential g++
13 14 15
```

```sh
16
sudo npm install -g pm2
17 18 19 20 21 22
cp config.json.default config.json
npm install
```

## Run

okhin's avatar
okhin committed
23
We're suggesting the use of pm2 to manage the service
24
```sh
Porkepix's avatar
Porkepix committed
25
pm2 start slogan.app.yml
26
```