Production build to deploy locally - ppazos/cabolabs-ehrserver GitHub Wiki

Run:

grails -Dgrails.env=local_prod war

Create folders:

  1. tomcat/bin/versions
  2. tomcat/bin/commits
  3. tomcat/bin/opts (and copy the opts from the root of the project)

Move: target/ehr-0.7.war to tomcat/webapps

Run: tomcat/bin/startup