1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
averell - An incredibly stupid cowboy based web server
======================================================
averell is an incredibly stupid web server to serve a directory through HTTP, like
python's SimpleHTTPServer module.
It is based on the erlang cowboy web server.
[![Build Status](https://travis-ci.org/jeanparpaillon/averell.svg)](https://travis-ci.org/jeanparpaillon/averell)
# Compilation
```
make
```
# Installation
```
make install
```
# Usage
```
averell [-h] [-p [<port>]] [-c [<cors>]] [-v] [<dir>]
-h, --help Show help
-p, --port Port number [default: 8000]
-c, --cors Enable CORS (allowed origins: *) [default: false]
-v Verbose
<dir> Directory to serve [default: $CWD]
```
# .avlaccess file format
`.avlaccess' is of `avlaccess()' type, as defined in `averell.hrl'.
# Debian packaging
Debian packaging uses `git-buildpackage'.
See doc: http://www.lpenz.org/articles/debgit/
|