This commit is contained in:
Lloyd Brookes
2013-06-04 14:26:42 +01:00
parent 69766cdf3f
commit cd90022cbc

View File

@ -1,19 +1,19 @@
Fires up a local development server on a given port. Fires up a local development server on a given port.
Install Install
======= -------
Install [Node.js](http://nodejs.org), then run Install [Node.js](http://nodejs.org), then run
```sh ```sh
$ npm install -g local-web-server $ npm install -g local-web-server
``` ```
*Linux/Mac users may require to run the above with `sudo`* *Linux/Mac users may need to run the above with `sudo`*
Usage Usage
===== -----
From the root folder of your website, run: From the root folder of your site, run:
```sh ```sh
$ ws [port] $ ws [port]
``` ```
The default port is 8000. The 'port' arg is optional, the default is 8000.