setup.sh 257 B

12345678910
  1. #!/bin/bash
  2. fw_depends java7 resin maven
  3. sed -i 's|127.0.0.1|'${DBHOST}'|g' src/main/webapp/WEB-INF/resin-web.xml
  4. mvn clean compile war:war
  5. rm -rf $RESIN_HOME/webapps/*
  6. cp target/hellowicket-1.0-SNAPSHOT.war $RESIN_HOME/webapps/wicket.war
  7. resinctl start