nova-api/screen.sh

14 lines
251 B
Bash
Raw Normal View History

2023-08-16 15:06:16 +02:00
# Script to start the production server
# Copy files to production
cp -r * /home/nova-prod
# Copy env file to production
cp env/.prod.env /home/nova-prod/.env
# Change directory
cd /home/nova-prod
# Start screen
screen -S nova-api python run prod