setup.sh 257 B

12345678910
  1. #!/bin/bash
  2. sed -i 's|localhost|'"${DBHOST}"'|g' src/main/resources/application.properties
  3. fw_depends java8 resin maven
  4. mvn clean compile war:war
  5. rm -rf $RESIN_HOME/webapps/*
  6. cp target/servlet3-cass.war $RESIN_HOME/webapps
  7. $RESIN_HOME/bin/resinctl start