Skip to content

iUI starter project using the Ratpack server-side framework

Notifications You must be signed in to change notification settings

iui/iui-seed-ratpack

Repository files navigation

iui-seed-ratpack

iUI Seed Project using Ratpack project template

This is a prototype "seed" project that uses iUI on the client and Ratpack on the server.

Created using the Ratpack template from Lazybones

Very similar structure to the Example Ratpack Gradle/Groovy App which has a better README.

Directory Structure

Unlike a typical Ratpack Gradle/Groovy App, the ratpack directory is not in src/ratpack. Instead the contents of that directory are in the project root directory.

  • public - directory contains static HTML and resources

  • templates - directory contains Groovy templates (HTML with some Groovy variables)

  • ratpack.groovy - Ratpack routes, code to set template variables, etc.

Running

./gradlew run

Building

To make a full copy of the app in the build/install/iui-seed-ratpack directory:

./gradlew installApp

To run that app:

cd build/install/iui-seed-ratpack
build/install/iui-seed-ratpack

To make a zip in build/distributions/iui-seed-ratpack.zip:

./gradlew distZip

About

iUI starter project using the Ratpack server-side framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published