Skip to content

gextech/lazybones-gex-templates

Repository files navigation

Lazybones Gex Templates

Apache License 2

This repository hosts some lazybone templates we use at Grupo Expansión. Right now it has a single template for creating Spring Boot APIs that use RAML.

Requirements

"JDK"

Usage

  1. Add following snippet to ~/.lazybones/config.groovy (If this dir/file doesn't exist, create it)

    bintrayRepositories = [
        "gextech/oss"
    ]
  2. Do a lazybones list to see available templates

  3. Create an app from template (use --with-git) lazybones create <template-name> <version> <dir-name> --with-git

Note: If you don't have [lazybones] installed, install that first :

  1. Install gvm curl -s get.gvmtool.net | bash

  2. Install lazybones via gvm gvm install lazybones

Creating a Rest Boot API template

  • Enter the following command:

    $ lazybones create rest-boot-api my-boot-api --with-git