Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.25 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.25 KB

Use-cases

  1. Expose your local development to the web with a single command
  2. Test webhooks
  3. Give access to project for QA
  4. Show your work to employer

Install and Run

Install this globally and you'll have access to the exposetoweb command anywhere on your system.

$ npm install -g exposetoweb
$ exposetoweb

If you prefer do not install packages globally then install exposetoweb locally with npm install exposetoweb --save-dev. Now exposetoweb located in your local node_modules/.bin folder.

Usage

$ exposetoweb -h
Usage: exposetoweb [-v] [--rh] [--rp] [--lh] [--lp] [--ps] [--uuid] [--rewrite-host]

Options:
  -h, --help      show this help
  --lh            local server address                       [default: "localhost"]
  --lp            local server port                          [default: 3001]
  --ps            socket pool size                           [default: 10]
  --rh            remote server address                      [default: "proxy.lodoss.org"]
  --rp            remote server port                         [default: 5000]
  --uuid          path to uuid file                          [default: "~/.exposetoweb-uuid"]
  -v, --verbose   enable verbose mode
  --rewrite-host  rewrite hostname in http headers