You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
583 B

11 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
11 years ago
12 years ago
11 years ago
  1. Fires up a simple, static web server on a given port. Use for local web development or file sharing (directory browsing enabled).
  2. Install
  3. -------
  4. Install [Node.js](http://nodejs.org), then run
  5. ```sh
  6. $ npm install -g local-web-server
  7. ```
  8. *Linux/Mac users may need to run the above with `sudo`*
  9. Usage
  10. -----
  11. From the folder you wish to serve, run:
  12. ```sh
  13. $ ws [port]
  14. ```
  15. The `port` arg is optional, the default is 8000.
  16. [![githalytics.com alpha](https://cruel-carlota.pagodabox.com/050b17b4263c08f12a2a9d9bbda80025 "githalytics.com")](http://githalytics.com/75lb/local-web-server)