Browse Source

Added run scripts to make it easier to deploy this project.

startScripts
jrtechs 6 years ago
parent
commit
3e1d92cba7
2 changed files with 15 additions and 0 deletions
  1. +7
    -0
      run.bat
  2. +8
    -0
      run.sh

+ 7
- 0
run.bat View File

@ -0,0 +1,7 @@
# Simple script to run the node application
#
#
# @author Jeffery Russell 10-9-18
echo "Starting Server"
node server.js

+ 8
- 0
run.sh View File

@ -0,0 +1,8 @@
s script enters a infinite loop to ensure that the website does not go down if it
# hits any unexpected error that crashes Nodejs
#
# 2/13/18 Jeffery Russell
while true
do node server.js
done

Loading…
Cancel
Save