Skip to content

Instantly share code, notes, and snippets.

@gugat
Last active August 29, 2015 14:01
Show Gist options
  • Save gugat/1a53321a228338b57a1c to your computer and use it in GitHub Desktop.
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
#!/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