GithubHelp home page GithubHelp logo

cybergrind / rebar-templates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mbbx6spp/rebar-templates

1.0 2.0 1.0 755 KB

Rebar Erlang and OTP templates written by Susan Potter of Finsignia. Until Rebar supports global default variable setting, you will probably need to fork this repository and edit the author_name and author_email in the variables section of the .template files.

License: Apache License 2.0

Erlang 73.40% Shell 26.60%

rebar-templates's Introduction

Echo Rebar Templates

How to use templates

To make the templates available, you need to clone the repo to your ~/.rebar/templates directory:

mkdir -p ~/.rebar/templates
git clone git://github.com:EchoTeam/rebar-templates.git ~/.rebar/templates

Creating Erlang/OTP service layout

If you want to create a new directory layout for your new service you can do the following:

$ mkdir <service_name>
$ cd <service_name>
$ rebar create template=service name=<service_name> description="Describe your service here."
$ ./run.me.first.sh

Note: You need rebar installed in your system, or placed in <service_name> directory.

This will generate the initial framework of an Erlang service that supports Erlang/OTP releases.

Now you can run your new service:

$ make run

The service layout is compatible with service-packager.

Requirements: erlang, git

See more info on the service layout:

rebar-templates's People

Contributors

alvelcom avatar byaruhaf avatar lukyanov avatar mbbx6spp avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jacktang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.