aboutsummaryrefslogblamecommitdiffstats
path: root/examples/web_server/README.md
blob: b81a955d23d07b184b8a99b65b45fcb388cb40ed (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                           
 

                                                     
 
                                                
 

        

   
                                       
 


                                       
 

                                                                         
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.