Deploying Changes:
- Make changes
sudo su Jeremy && cd ~/publisher-manager
git pull
/home/Jeremy/apache-maven-3.3.9/bin/mvn package
sudo cp -r target/publisher-ui-0.0.1-SNAPSHOT/* /var/lib/tomcat/apache-tomcat-7.0.68/webapps/publisher-manager
- There's definitely a better way to do this (like using the generated .war) but wasn't working for some reason. WARNING this only overrides existing files...
sudo /var/lib/tomcat/apache-tomcat-7.0.68/bin/shutdown.sh
sudo /var/lib/tomcat/apache-tomcat-7.0.68/bin/startup.sh