README.asciidoc 446 B

12345678910111213141516171819202122232425
  1. = Hello world example
  2. To try this example, you need GNU `make` and `git` in your PATH.
  3. To build and run the example, use the following command:
  4. [source,bash]
  5. $ make run
  6. Then point your browser to http://localhost:8080
  7. == Example output
  8. [source,bash]
  9. ----
  10. $ curl -i http://localhost:8080
  11. HTTP/1.1 200 OK
  12. connection: keep-alive
  13. server: Cowboy
  14. date: Fri, 28 Sep 2012 04:10:25 GMT
  15. content-length: 12
  16. content-type: text/plain
  17. Hello world!
  18. ----