Last active
August 29, 2015 14:00
-
-
Save jcheype/11187203 to your computer and use it in GitHub Desktop.
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/sh | |
#start MongoDB | |
/usr/bin/mongod -dbpath /data/db --fork -journal --logpath /opt/mongodb.log | |
#start H2 | |
java -jar /opt/h2/h2.jar 2>&1 > /dev/null & | |
# download and deploy app | |
cd /opt/tomcat/webapps/ | |
curl -o ROOT.war "http://nexus.vidal.net/service/local/artifact/maven/content?r=vidal-snapshots-group&g=com.vidal.bo&a=vulcain-web-flow&v=LATEST&p=war" | |
#start tomcat | |
cd .. | |
./bin/startup.sh && tail -f /opt/tomcat/logs/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment