/example-ratpack-standalone-groovy-script

An example of a Groovy script Ratpack app.

Primary LanguageGroovy

An example of a Ratpack app as a standalone Groovy script.

Uses Groovy's built in Grape dependency resolution engine for fetching Ratpack.

Requirements

  • Groovy 2.x

Instructions

  1. Move into the checkout directory
  2. Run groovy ratpack.groovy
  3. Go to http://localhost:5050 in a browser
  4. Play around with ratpack.groovy (you can change it without needing to restart)