Skip to content

Latest commit

 

History

History
93 lines (64 loc) · 2.87 KB

README.adoc

File metadata and controls

93 lines (64 loc) · 2.87 KB

Ratpack 101

Fork me on GitHub

Introductory workshop about Ratpack.

Software requirements

Make sure you have:

  • JDK 8 (both in command line and in your IDE).

  • Git.

  • Gradle 2.6+.

  • Groovy 2.4.1+ (on the command line)

  • Lazybones installed via GVM.

You should have a similar output in your terminal:

$ java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

$ git --version
git version 2.3.2

$ gradle -v

------------------------------------------------------------
Gradle 2.9
------------------------------------------------------------

Build time:   2015-11-17 07:02:17 UTC
Build number: none
Revision:     b463d7980c40d44c4657dc80025275b84a29e31f

Groovy:       2.4.4
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.8.0_60 (Oracle Corporation 25.60-b23)
OS:           Mac OS X 10.11.1 x86_64

$ groovy -v
Groovy Version: 2.4.5 JVM: 1.8.0_60 Vendor: Oracle Corporation OS: Mac OS X

$ lazybones help
Lazybones is a command-line based tool for creating basic software projects from templates.

Available commands:

    create         Creates a new project from a template.
    config         Displays general help, or help for a specific command.
    generate       Generates new files in the current project based on a sub-template.
    list           Lists the templates that are available for you to install.
    info           Displays information about a template, such as latest version, description, etc.
    help           Displays general help, or help for a specific command.

Once done, you can clone this repo:

git clone https://github.com/alvarosanchez/ratpack-101.git

You will find each exercise’s template files on each exNN folder. Solution is always inside a solution folder.

Acknowledgments