Files
hiring-test-one/README.md
Lloyd Brookes c310e69f1d readme
2013-06-11 14:49:12 +01:00

22 lines
582 B
Markdown

Fires up a simple, static web server on a given port. Use for local web development or file sharing (directory browsing enabled).
Install
-------
Install [Node.js](http://nodejs.org), then run
```sh
$ npm install -g local-web-server
```
*Linux/Mac users may need to run the above with `sudo`*
Usage
-----
From the folder you wish to serve, run:
```sh
$ ws [port]
```
The `port` arg is optional, the default is 8000.
[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/050b17b4263c08f12a2a9d9bbda80025 "githalytics.com")](http://githalytics.com/75lb/local-web-server)