aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cookie/README.md
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-12-20 14:40:22 +0100
committerLoïc Hoguin <[email protected]>2012-12-20 14:40:22 +0100
commita07d063fd8fc8a1cfadcb35cc89e190695773fe8 (patch)
treeb1f9c4540b8ecdc43538945f6371177b48d3b1b5 /examples/cookie/README.md
parent659ca05c546ed8b537fe0d36cf5520ad0bc62a0f (diff)
downloadcowboy-a07d063fd8fc8a1cfadcb35cc89e190695773fe8.tar.gz
cowboy-a07d063fd8fc8a1cfadcb35cc89e190695773fe8.tar.bz2
cowboy-a07d063fd8fc8a1cfadcb35cc89e190695773fe8.zip
Add cookie example
Diffstat (limited to 'examples/cookie/README.md')
-rw-r--r--examples/cookie/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/cookie/README.md b/examples/cookie/README.md
new file mode 100644
index 0000000..cb6465f
--- /dev/null
+++ b/examples/cookie/README.md
@@ -0,0 +1,18 @@
+Cowboy Cookie
+=============
+
+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. This example allows
+you to use any path you want to try to show that cookies are defined
+site-wide. Try it in your browser!