setup.sh 344 B

1234567891011
  1. #!/bin/bash
  2. fw_depends postgresql java8 resin-java8 maven mono dsl_platform
  3. echo "Changing the database"
  4. cat $TROOT/web.xml | sed 's/localhost/'$DBHOST'/g' > $TROOT/src/main/webapp/WEB-INF/web.xml
  5. mvn clean compile war:war
  6. rm -rf $RESIN_HOME/webapps/*
  7. cp target/revenj.war $RESIN_HOME/webapps/
  8. JAVA_EXE=$JAVA_HOME/bin/java resinctl console