Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 571 Bytes

File metadata and controls

25 lines (21 loc) · 571 Bytes

WebSocket example

To try this example, you need GNU make and git in your PATH.

Building

To build the example, run the following command:

make

Starting

Release

To start the release in the foreground:

./_rel/websocket-example/bin/websocket-example console

Note: The previous command also starts an Erlang console.

LFE

To start the app and an LFE shell:

lfe -pa ebin -pa deps/*/ebin -s websocket # make dev

Usage

Point your browser at http://localhost:8080.