2013-06-04 14:23:50 +01:00
|
|
|
Fires up a local development server on a given port.
|
|
|
|
|
|
|
|
Install
|
|
|
|
=======
|
|
|
|
Install [Node.js](http://nodejs.org), then run
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$ npm install -g local-web-server
|
|
|
|
```
|
|
|
|
|
|
|
|
*Linux/Mac users may require to run the above with `sudo`*
|
|
|
|
|
|
|
|
Usage
|
|
|
|
=====
|
|
|
|
From the root folder of your website, run:
|
|
|
|
```sh
|
|
|
|
$ ws [port]
|
|
|
|
```
|
|
|
|
The default port is 8000.
|