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