Changeset 38804
- Timestamp:
- 2024-02-29T23:48:16+13:00 (3 months ago)
- Location:
- gs3-installations/thewillow/trunk/sites/thewillow/dlcol-chatgpt/react-gui
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-installations/thewillow/trunk/sites/thewillow/dlcol-chatgpt/react-gui/README.txt
r38762 r38804 38 38 39 39 40 3. To run as a production server 41 42 ./BUILD-PROD.sh 43 ./START-PROD-NOHUP.sh 44 -
gs3-installations/thewillow/trunk/sites/thewillow/dlcol-chatgpt/react-gui/START-PROD.sh
r38785 r38804 1 1 #!/bin/bash 2 2 3 echo "" 4 echo "====" 5 echo "Staring NodeJS-based Next server with 'nohup' in the background" 6 echo "=> Run ./STOP-PROD.sh to (currently) list the process that need" 7 echo " to be manually stopped with 'kill'" 8 echo "----" 9 echo "" 10 11 #echo "Logging output to nohup.out" 12 #echo "" 13 14 echo "================================================================================" >> nohup.out 15 echo "START-PROD.sh run: $(date) " >> nohup.out 16 echo "" >> nohup.out 17 18 nohup npm run start & 19 20 echo "" 21 22 # Small sleep, just to let the nohup output have time to be dislayed 23 sleep 1 24 25 26 echo "====" 27 echo "" 3 npm run start
Note:
See TracChangeset
for help on using the changeset viewer.