Links
- Site : twitelo.en-f.eu
- Github client : github.com/iFonny/twitelo-client
- Github server : github.com/iFonny/twitelo-server
LOCAL
PREREQUISITES :
- PM2 (
npm install pm2 -g
) - RethinkDB (https://rethinkdb.com/docs/install/)
- Redis-server (https://redis.io/topics/quickstart)
- Config file
configs/secret.json
npm install
npm start
DEPLOYMENT
CONFIG
API Config: Rename secret.json.example
and add secrets and API Keys
SSH server config: pm2-config.json
SERVER PREREQUISITES
- PM2 (
npm install pm2 -g
) - RethinkDB (https://rethinkdb.com/docs/install/)
- Redis-server (https://redis.io/topics/quickstart)
- A config file in
/root/configs/EpitechTwiteloAPI/secret.json
(path can be changed inpm2-config.json
)
First time :
npm run deploy-setup
Update :
npm run deploy-update
OTHERS
Small DOC : https://ifonny.gitbooks.io/twiteloapp/