Get your project up and running with giter8

Giter8 is a command line tool that helps you to easily setup your project structure from templates published on github. It is written in Scala and based on sbt, but it is not restricted to Scala or sbt projects. You can create and use templates for any project type you like. From version 0.5.0 giter8 also has support for other git repositories than github.

Installation

Just follow the installation instructions, the installation with Conscript worked fine for me.
Verify your installation by typing g8 without parameters on the command line.

Usage

Now we’re good to go, so lets create a Scala sbt project:

After the project is created from your template start coding and run your build with sbt compile. As stated above giter8 uses sbt, but you can use your favourite build tool in your project template. Here’s an example using maven:

It is quite easy to create your own templates, just have a look at the documentation. You can use the file protocol to test your template locally:

Resources

Leave a Reply