Status page for GenSoc
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.
 
 
 
 
 

13 lines
242 B

  1. #!/usr/bin/env bash
  2. # Pull new chagnes
  3. git pull
  4. # Build server
  5. NODE_ENV=production yarn build:server
  6. # Update deps
  7. yarn
  8. # Kill previous instance
  9. screen -S gensoc-status -X quit
  10. # Start a new one
  11. screen -dmS gensoc-status node dist/server.js