diff --git a/mqtt/README.md b/mqtt/README.md deleted file mode 100755 index e1eead6d0..000000000 --- a/mqtt/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# Work In Progress - -Replacing the current MQTT broker with RabbitMQ. - -# Table of Contents - - * `Dockerfile`: The important thing. - * `jwt_plugin`: The plugin for auth. - -# Build - -``` -cd jwt_plugin; make; make dist; cd .. -sudo docker build -t some-rabbit . - -``` - -# Run (Fish Shell Users) - -``` - -sudo docker run \ - -e WEB_API_URL=localhost:3000 \ - -p 15672:15672 \ - -p 5672:5672 \ - -p 3002:15675 \ - -p 8883:8883 \ - -p 1883:1883 \ - --hostname some-rabbit \ - --name some-rabbit \ - -v (pwd)/conf:/etc/rabbitmq \ - -v (pwd)/rabbitmq:/var/lib/rabbitmq \ - some-rabbit - -``` - -# Teardown - -``` -sudo docker rm some-rabbit -``` - -# Debug (Bash) - -``` -sudo docker exec -i -t some-rabbit /bin/bash -``` diff --git a/mqtt/jwt_plugin/.travis.yml b/mqtt/jwt_plugin/.travis.yml deleted file mode 100755 index 86140de88..000000000 --- a/mqtt/jwt_plugin/.travis.yml +++ /dev/null @@ -1,46 +0,0 @@ -# vim:sw=2:et: - -# Use a real VM so we can install all the packages we want. -sudo: required - -language: erlang -notifications: - email: - - alerts@rabbitmq.com -addons: - apt: - sources: - - sourceline: deb https://packages.erlang-solutions.com/ubuntu precise contrib - key_url: https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc - packages: - # Use Elixir from Erlang Solutions. The provided Elixir is - # installed with kiex but is old. By using an prebuilt Debian - # package, we save the compilation time. - - elixir - - xsltproc - -otp_release: - - "19.2" - - "19.3" - - "20.0" - -before_script: - # The checkout made by Travis is a "detached HEAD" and branches - # information is missing. Our Erlang.mk's git_rmq fetch method relies - # on it, so we need to restore it. - # - # We simply fetch master and, if it exists, stable branches. A branch - # is created, pointing to the detached HEAD. - - | - git checkout -B "${TRAVIS_TAG:-${TRAVIS_BRANCH}}" - git remote add upstream https://github.com/$TRAVIS_REPO_SLUG.git - git fetch upstream stable:stable || : - git fetch upstream master:master || : - # Remove all kiex installations. This makes sure that the Erlang - # Solutions one is picked: it's after the kiex installations in $PATH. - - echo YES | kiex implode - -script: make tests - -cache: - apt: true diff --git a/mqtt/jwt_plugin/README.md b/mqtt/jwt_plugin/README.md deleted file mode 100755 index 11d8a3b6a..000000000 --- a/mqtt/jwt_plugin/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# BUILDING -`make` - -# CLEANING -`make distclean` or `make clean` - -# PACKAGING -`make dist` diff --git a/run_mqtt.sh b/run_mqtt.sh deleted file mode 100755 index 857866445..000000000 --- a/run_mqtt.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -cd mqtt -rails mqtt:setup