2013-09-08 11:48:48 +02:00
|
|
|
EventSource example
|
|
|
|
===================
|
2013-02-16 02:26:32 -06:00
|
|
|
|
2013-10-22 09:14:32 +02:00
|
|
|
To try this example, you need GNU `make` and `git` in your PATH.
|
2013-02-16 02:26:32 -06:00
|
|
|
|
2013-09-08 11:48:48 +02:00
|
|
|
To build the example, run the following command:
|
2013-02-16 02:26:32 -06:00
|
|
|
|
2013-09-08 11:48:48 +02:00
|
|
|
``` bash
|
|
|
|
$ make
|
2013-02-16 02:26:32 -06:00
|
|
|
```
|
|
|
|
|
2013-09-08 11:48:48 +02:00
|
|
|
To start the release in the foreground:
|
2013-02-16 02:26:32 -06:00
|
|
|
|
2013-09-08 11:48:48 +02:00
|
|
|
``` bash
|
2014-06-30 10:14:05 +02:00
|
|
|
$ ./_rel/eventsource_example/bin/eventsource_example console
|
2013-09-08 11:48:48 +02:00
|
|
|
```
|
2013-02-16 02:26:32 -06:00
|
|
|
|
2013-09-08 11:48:48 +02:00
|
|
|
Then point your EventSource capable browser at
|
|
|
|
[http://localhost:8080](http://localhost:8080).
|