aboutsummaryrefslogtreecommitdiffstats
path: root/examples/websocket/README.md
blob: 14f6f746484fb3a8787d91650ba0b4abca96d8af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Cowboy websocket
================

To compile this example you need rebar in your PATH.

Type the following command:
```
$ rebar get-deps compile
```

You can then start the Erlang node with the following command:
```
./start.sh
```

Then point your browser to the indicated URL to open a websocket client. 
Not all browsers suport websockets. It was tested with Chromium.