An example of a Ratpack app as a standalone Groovy script.
Uses Groovy's built in Grape dependency resolution engine for fetching Ratpack.
- Groovy 2.4.0+
- Move into the checkout directory
- Run
groovy ratpack.groovy
- Go to
http://localhost:5050
in a browser - Play around with
ratpack.groovy
(you can change it without needing to restart)