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.
 
 
 
 

16 lines
476 B

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