README.md 541 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

okhin's avatar
okhin committed
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
12
13
14
15

```sh
apt install nodejs libcairo2-dev libjpeg62-turbo-dev libpango1.0-dev libgif-dev build-essential g++
```

```sh
okhin's avatar
okhin committed
16
sudo npm install -g pm2
17
18
19
20
21
22
23
cp config.json.default config.json
npm install
```

## Run

```sh
okhin's avatar
okhin committed
24
sudo pm2 start srv.js
25
```