|
@ -1 +1,19 @@ |
|
|
Fires up a local development server |
|
|
|
|
|
|
|
|
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. |