diva.exchange platform, including user interface. Fully distributed and private exchange for digital values. Including a chat client and other social functions. https://diva.exchange
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
299 B

  1. #!/bin/sh
  2. #
  3. # Author/Maintainer: konrad@diva.exchange
  4. #
  5. # Start nodeJS with the diva application.
  6. #
  7. set -e
  8. # install database
  9. su node -c "cd /home/node/ && node -r esm ./app/bin/install-db"
  10. # start applications
  11. su node -c "cd /home/node/ && pm2-runtime start ecosystem.config.js --env production"