A web tool using recon to monitor erlang node status.
Base on
recon, cowboy websocket, socket.io.client, hightchat
###Demo
$ open http://182.254.178.59:8080/
###Get Start:
-
Get deps and compile && start in erlang shell mode:
$
make && make shell
$open http://127.0.0.1:8080/
-
Combined with your system:
1> application:start(recon_web).
2> application:stop(recon_web).
###Config
-
Recommend using Line command
$
make config IP=127.0.0.1 PORT=8080
-
it will modify Client IP and PORT:
/priv/js/recon_web.js
var socket = io.connect('http://yourhost:yourport');
-
it will modify Server IP and PORT:
/src/recon_web.app.src
{ip,{"127.0.0.1"}},%% default :localhost,better using nginx to proxypass
{port,8080}]}
###Some Useful Command
Command | Action |
---|---|
make help | erlang.mk's help |
make config IP=127.0.0.1 PORT=8080 | configure IP and Port |
make debug | compile && start debug shell mode lager:debug |
make shell | start info shell mode lager:info |
make start | start a demon erlang node by heart |
make stop | stop erlang node |
make clean_all | clean all beam (include deps beam) |
make remsh | remsh mode shell |
rake |