emqx / rebar3_emqx_plugin

A rebar3 plugin for automatically generate emqx plugin template

Home Page:https://www.emqx.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://www.emqx.io

License:Apache License 2.0


Languages

Language:Erlang 95.3%Language:Makefile 4.7%