Add deploy helper script

master
Eugene E. Kashpureff Jr 9 years ago
parent 3dbb8ec847
commit c32d3b49e2
  1. 12
      contrib/deploy.sh

@ -0,0 +1,12 @@
#!/bin/bash
# contrib/deploy.sh
# Libresonic/libresonic
#
# Helper script to shorten dev/build/deployment
#
sudo systemctl stop tomcat
sudo rm /var/lib/tomcat/webapps/libresonic* -rf
sudo cp libresonic-main/target/libresonic.war /var/lib/tomcat/webapps/
sudo systemctl start tomcat
Loading…
Cancel
Save