0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
cowboy/examples/cookie/README.md

21 lines
445 B
Markdown
Raw Permalink Normal View History

Cookie example
==============
2012-12-20 14:40:22 +01:00
To try this example, you need GNU `make` and `git` in your PATH.
2012-12-20 14:40:22 +01:00
To build the example, run the following command:
2012-12-20 14:40:22 +01:00
``` bash
$ make
2012-12-20 14:40:22 +01:00
```
To start the release in the foreground:
``` bash
$ ./_rel/cookie_example/bin/cookie_example console
2012-12-20 14:40:22 +01:00
```
Then point your browser at [http://localhost:8080](http://localhost:8080).
This example allows you to use any path to show that the cookies
are defined site-wide. Try it!