DTP Base provides a scalable and secure Node.js application development harness ready for production service.
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.
 
 
 
 

15 lines
355 B

#!/bin/bash
git checkout master
git pull origin master
pnpm i --prod=false
pnpm build
echo "Stopping production services for DTP Chat"
sudo supervisorctl stop time-tracker-web:*
sudo supervisorctl stop host-services:*
echo "Starting production services for DTP Chat"
sudo supervisorctl start host-services:*
sudo supervisorctl start time-tracker-web:*