README.asciidoc 490 B

123456789101112131415
  1. = Middleware 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/video.html
  7. Cowboy will serve all the files you put in the `priv` directory.
  8. If you request a `.html` file that has a corresponding `.md` file
  9. that has been modified more recently than the `.html` file, the
  10. Markdown file will be converted to HTML and served by Cowboy.