Last active
August 29, 2015 14:01
-
-
Save gugat/1a53321a228338b57a1c to your computer and use it in GitHub Desktop.
steps to deploy bigbluebutton .war file to production after changes applied in development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ~/dev/bigbluebutton/bigbluebutton-web | |
sudo rm ./target/bigbluebutton-0.1.war | |
grails war | |
sudo rm -r /var/lib/tomcat7/webapps/bigbluebutton* | |
sudo cp ./target/bigbluebutton-0.1.war /var/lib/tomcat7/webapps/ | |
sudo service tomcat7 restart | |
sudo mv /var/lib/tomcat7/webapps/bigbluebutton-0.1 /var/lib/tomcat7/webapps/bigbluebutton | |
sudo service tomcat7 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment