Skip to content

See recon information on web (through websocket/cowboy)

License

Notifications You must be signed in to change notification settings

KongGuiXiong/recon_web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


##recon_web Build Status

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

  1. it will modify Client IP and PORT:

    /priv/js/recon_web.js

    var socket = io.connect('http://yourhost:yourport');

  2. 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

###Flow pic

About

See recon information on web (through websocket/cowboy)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.6%
  • Erlang 19.6%
  • HTML 3.5%
  • Other 1.3%