Erlang并发编程(五) --- bigwig

来源:互联网 发布:vb.net连接本地数据库 编辑:程序博客网 时间:2024/05/23 00:02

Bigwig:Erlang Web 监控工具。

参考资料:http://www.cnblogs.com/yourihua/archive/2012/05/09/2491391.html

项目地址:https://github.com/beamspirit/bigwig


下载。

git clone https://github.com/beamspirit/bigwig.git

修改rebar.config,指定版本(默认是R14, 如果当前系统使用R15需要则修改)。

获取依赖。

./rebar get-deps 

修改/src/bigwig.erl里的start方法,追加一行启动 jsx app的代码,如下:

start() ->
    ensure_started(crypto),
    ensure_started(sasl),
    ensure_started(cowboy),
    ensure_started(jsx),
    application:start(bigwig).

启动。

./start-dev.sh

默认40829端口,如下:

http://127.0.0.1:40829/

原创粉丝点击