Lazybones - a cool instrument, which can save your time during a project setup

How long does it takes for you to create a new project ? And how often are you doing this routine job ? Do you remember, how interesting for you is to test some feature, which you want to test/try, but how hard is it to configure initial project ?
There’s so many frameworks in java world, and for me it’s extremely hard to remember initial steps and configurations for each of them. And logically, if you do al this teps by your hands, then something can potencially go wrong

Let’s start with a question “Why you need to create a new project”:

You’d like to test something in your favorite project.

You’re working in a microserviced worlds, and you start new microservice every day…

You need to create a POC and test how it works.

Anything else

Personally I don’t want to store all this configuration steps in my head, and I prefer to use something, which can the work for me. That’s why I’d like to recommend a cool instrument for creating project skeletons in extremely convenient way - lazybones. Let’s demonstrate how to setup a Gatling project

How to use it

Let’s create a Ratpack project
lazybones create ratpack 1.2.0 my-rat-app
You will get intro text about what this template is about.

I think it’s a true way of starting your new project with README for some technology, because you can coordinate yourself with a steps you need to do with this project.

#####Available templates
By the time I find this instument, there was not so many useful templates for me. To see, what templates are available, just type

lazybones list

This command will list all the templates, which are available for now. You can read more about available templates on github. It’s also not so clear for me, how to list all custom templates, which users create for themselves, and push to bintray. You can read how to import custom repos here

#####Cook templates for yourself
Complete document on how to create custom templates is located on github
I’ll describe how I understand it: