Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.11 KB

skeletor

An Erlang Rebar Template to bootstrap HTTP and XMPP based Applications. It consists in an Application Core, an HTTP Handler, an XMPP handler, a prometheus metric collector and also a Redis connectivity module.

It's also a plugin for dockerize the release. Check docker doc for further information.

Skeletor

Build

./rebar3 compile

Use

Create a base directory for your projects having rebar3 script and a rebar.config file only with this configuration:

{plugins, [
    {skeletor, {git, "https://github.com/veondigital/skeletor.git", {branch, "master"}}}
]}.

And then:

./rebar3 new skel name=veon \
                  desc="A base service" \
                  author_name="Manuel Rubio" \
                  author_email="[email protected]" \
                  tag="midomain.com/erlang/veon"

This generates a new directory using the project name used on rebar3 command. Containing a ready to use, project base.

For further information read the how-to here!

Enjoy!