Skip to content

mazz/my_vernemq_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyVMQPlugin

Install vernemq on a mac:

brew install elixir
git clone git://github.com/erlio/vernemq.git
chmod -R u+w /usr/local/Cellar/erlang
brew install openssl
cd vernemq
CFLAGS="-I/usr/local/Cellar/openssl/1.0.2l/include -L/usr/local/Cellar/openssl/1.0.2l/lib" make rel
cd _build/default/rel/vernemq/bin
# fix ulimit on Sierra: https://blog.dekstroza.io/ulimit-shenanigans-on-osx-el-capitan/
./vernemq start

Recipe for enabling elixir plugin

./vernemq restart
./vmq-admin set allow_anonymous=on # set this before enabling my_vernemq_plugin to allow anonymous publishing
./vmq-admin plugin enable --name=elixir --path=/usr/local/Cellar/elixir/1.5.1
./vmq-admin plugin enable --name=my_vernemq_plugin --path=/Users/maz/src/my_vernemq_plugin/_build/dev
./vmq-admin plugin show

Installation

If available in Hex, the package can be installed by adding my_vernemq_plugin to your list of dependencies in mix.exs:

def deps do
  [
    {:my_vernemq_plugin, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/my_vernemq_plugin.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published