setup.sh 231 B

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