Skip to content

Instantly share code, notes, and snippets.

@staticnull
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save staticnull/0189fe2a8faf07262c4a to your computer and use it in GitHub Desktop.
Save staticnull/0189fe2a8faf07262c4a to your computer and use it in GitHub Desktop.
Report Demo - Config.groovy
environments {
development {
grails.logging.jul.usebridge = true
grails.phantomPDFScript = "ui/app/scripts/phantomjs/rasterizestdout.js"
grails.serverURL = "http://localhost:8080/demo"
}
devserver {
grails.logging.jul.usebridge = false
grails.phantomPDFScript = "/opt/tomcat/webapps/first-step/scripts/phantomjs/rasterizestdout.js"
grails.serverURL = "http://surlylabs.com:8080/demo"
}
test {
grails.logging.jul.usebridge = false
grails.phantomPDFScript = "ui/app/scripts/phantomjs/rasterizestdout.js"
grails.serverURL = "http://localhost:8080/demo"
}
production {
grails.logging.jul.usebridge = false
// TODO: grails.phantomPDFScript = "/opt/tomcat2/webapps/xxx-xxx/scripts/phantomjs/rasterizestdout.js"
// TODO: grails.serverURL = "http://www.changeme.com"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment