brunhilde (tested with Erlang OTP R19)

alt tag

brunhilde is a minimal Erlang/OTP web server, ideal for rapid prototyping and hackathons/coding competitions. It is designed to be as simple as possible, so that it can quickly be modified or debugged. It is not designed to provide high performance or be used in production.

#Dependencies:

#Usage:

To start brunhilde standalone, do:

make build start

To embed brunhilde in another OTP application, see: https://github.com/ksallberg/brunhilde_ext

#Dialyzer: make dialyzer (requires existing PLT)

#Running virtual servers/apps:

Virtual servers are defined in servers/ and have to use the rest_handler behaviour. Give a list of virtual servers to start in brunhilde.conf.

For example:

#{collect_stats => true,
start_observer => false,
start_debugger => false,
servers =>
[#{name => battleship,
port => 28251,
workers => 10},
#{name => helloworld,
port => 5030,
workers => 5},
#{name => stats,
port => 8080,
workers => 2}
]}.

#Supervisor tree: alt tag