sudo apt install nodejs
sudo apt install npm
sudo apt install redis-server
- First time only:
- If not already done, copy the
secret_examples/
folder tosecret/
(the latter is ignored by Git) - Modify the
secret/remote_for_deploy.txt
file to adapt it to the user/server/path where the app must be deployed - Modify the
secret/config.json
file with the appropriate values - Recommended for easier deployment: generate an SSH key locally (or reuse it if you have one already) and add it to the server's authorized keys
- If not already done, copy the
- Run
./deploy.sh
On the server:
cd
to the root folder where the application is deployed- Make sure
npm install
has been run - Run
node app.js