1 | # static-serve
|
2 |
|
3 | A simple development server for static html.
|
4 |
|
5 | `static-serve` serves your static html files from the root you specify with gzip compression and optional http authentication.
|
6 |
|
7 |
|
8 | ## Installation
|
9 |
|
10 | $ npm install static-serve -g
|
11 |
|
12 | ## Usage
|
13 |
|
14 | $ static-serve /path/to/html
|
15 |
|
16 | ### Browse
|
17 |
|
18 | Go to `http://localhost:8080/`
|
19 |
|
20 | ### Options
|
21 |
|
22 | * `-p` Port to use, defaults to 8080
|
23 | * `-U` Username for HTTP auth, won't be activated if the field is not set
|
24 | * `-P` Password for HTTP auth, won't be activated if the field is not set |
\ | No newline at end of file |