API server

Intermediary between other servers such as the APP or the BOT

Configure:

First of all...

create the folder for the codebase, pulled from git repo, explained in page /etc/profile
mkdir /www/{server-name}

and add a file to keep the api keys and secret keys, outside the repository
vim /www/secret/all.js

then configure scripts like "deploy" and "api" to start and run automatically in /etc/crontab

To manage node processes:

To view:
ps aux | grep node

To end process:
kill 1127

results matching ""

    No results matching ""