Skip to content

Skeleton estructure for XMPP Component projects based on Snatch

License

Notifications You must be signed in to change notification settings

veondigital/skeletor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Skeleton estructure for XMPP Component projects based on Snatch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published