source: gs3-installations/thewillow/trunk/sites/thewillow/dlcol-chatgpt/react-gui/START-PROD.sh@ 38776

Last change on this file since 38776 was 38776, checked in by davidb, 4 months ago

Helper scripts to build, start and stop running the server

  • Property svn:executable set to *
File size: 502 bytes
Line 
1#!/bin/bash
2
3echo ""
4echo "===="
5echo "Staring NodeJS-based Next server with 'nohup' in the background"
6echo "=> Run ./STOP-PROD.sh to (currently) list the process that need"
7echo " to be manually stopped with 'kill'"
8echo "----"
9echo ""
10
11#echo "Logging output to nohup.out"
12#echo ""
13
14echo "================================================================================" >> nohup.out
15echo "START-PROD.sh run: $(date) " >> nohup.out
16echo "" >> nohup.out
17
18nohup npm run start &
19
20echo "===="
21echo ""
Note: See TracBrowser for help on using the repository browser.