blob: b81a955d23d07b184b8a99b65b45fcb388cb40ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Static file handler example
===========================
To try this example, you need GNU `make`, `git` and
[relx](https://github.com/erlware/relx) in your PATH.
To build the example, run the following command:
``` bash
$ make
```
To start the release in the foreground:
``` bash
$ ./_rel/bin/web_server_example console
```
Then point your browser at [http://localhost:8080](http://localhost:8080)
to browse the contents of the `priv` directory.
|