setup.sh 217 B

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