Files
hiring-test-one/README.md

22 lines
506 B
Markdown
Raw Normal View History

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-05 20:06:54 +01:00
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)