Getting started!
Whistlepost provides a Lazybones project template that is probably the simplest way to create a new Whistlepost site. The following steps outline how to use it:
-
$ curl -s "https://get.sdkman.io" | bash
$ source "$HOME/.sdkman/bin/sdkman-init.sh" && sdk install lazybones
-
Include the Whistlepost repository in configuration:
$ lazybones set bintrayRepositories = [micronode/whistlepost, pledbrook/lazybones-templates]
-
Create a new site skeleton using the Whistlepost template:
$ lazybones create whistlepost-site <site directory>
-
Build and run your new site in Docker:
$ ./gradlew buildDocker && docker run --rm -p 8080:8080 <projectId>
-
Open site in browser:
http://localhost:8080/<projectId>