Skip to content

A rebar3 plugin for automatically generate emqx plugin template

License

Notifications You must be signed in to change notification settings

emqx/rebar3_emqx_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rebar3 EMQ X Plugin Template

How to use templates

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

mkdir -p ~/.config/rebar3/templates
git clone https://github.com/emqx/rebar3_emqx_plugin ~/.config/rebar3/templates

Creating Erlang/OTP service layout

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

rebar3 new emqx-plugin <plugin-name>

For example:

rebar3 new emqx-plugin emqx_auth_mysql

Note: You need rebar3 installed in your system.

This will generate the initial framework of an EMQ X plugin.

Requirements: erlang, git,rebar3

About

A rebar3 plugin for automatically generate emqx plugin template

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published