setup.sh 415 B

1234567891011
  1. #!/bin/bash
  2. fw_depends mysql java grails resin
  3. cd hello
  4. grails -Dgrails.work.dir=${IROOT}/.grails -non-interactive -plain-output refresh-dependencies
  5. grails -Dgrails.work.dir=${IROOT}/.grails -non-interactive -plain-output compile
  6. grails -Dgrails.work.dir=${IROOT}/.grails prod -non-interactive -plain-output war
  7. rm -rf $RESIN_HOME/webapps/*
  8. cp target/hello-0.1.war $RESIN_HOME/webapps/grails.war
  9. resinctl start