setup.sh 264 B

123456789
  1. #!/bin/bash
  2. sed -i 's|mysql://.*:3306|mysql://'"${DBHOST}"':3306|g' hello/src/main/webapp/WEB-INF/resin-web.xml
  3. cd hello
  4. mvn clean compile war:war
  5. rm -rf $RESIN_HOME/webapps/*
  6. cp target/tapestry.war $RESIN_HOME/webapps/tapestry.war
  7. $RESIN_HOME/bin/resinctl start