Skip to content

TanguyP/hospital-eta-backend

Repository files navigation

Server prerequisites

  • sudo apt install nodejs
  • sudo apt install npm
  • sudo apt install redis-server

How to deploy

  1. First time only:
    1. If not already done, copy the secret_examples/ folder to secret/ (the latter is ignored by Git)
    2. Modify the secret/remote_for_deploy.txt file to adapt it to the user/server/path where the app must be deployed
    3. Modify the secret/config.json file with the appropriate values
    4. 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
  2. Run ./deploy.sh

How to run

On the server:

  1. cd to the root folder where the application is deployed
  2. Make sure npm install has been run
  3. Run node app.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published