- 購読したトピックのメッセージによって対応するコマンドを実行する
- 配置とモジュールインストール
$ cd /path/to/somewhere
$ git clone https://github.com/kteru/mqtt2cmd.git .
$ npm install
- コンフィグ作成
$ cp -a config.json.sample config.json
$ vi config.json
- 実行
$ node app.js
$ cd /path/to/somewhere
$ git clone https://github.com/kteru/mqtt2cmd.git .
$ npm install
$ cp -a config.json.sample config.json
$ vi config.json
$ node app.js