server_config/portfolio_server/_deploy.sh

12 lines
276 B
Bash
Raw Permalink Normal View History

# Setup portfolio server service
cp ./portfolio_server/systemd/portfolio.service /etc/systemd/system
# Pull portfolio server sources
cd /srv/portfolio
git pull origin main
# Start portfolio server
systemctl daemon-reload
systemctl enable portfolio
systemctl start portfolio