From a5c4288a8c743cac1637184b252595f150fb6748 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sat, 10 Jun 2017 16:05:43 -0700 Subject: update docs with docs flag documentation --- docs/src/CLI/General-Usage.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/src/CLI') diff --git a/docs/src/CLI/General-Usage.md b/docs/src/CLI/General-Usage.md index 3a4544f..dbb8970 100644 --- a/docs/src/CLI/General-Usage.md +++ b/docs/src/CLI/General-Usage.md @@ -121,10 +121,13 @@ if the server should utilize TLS encryption - served over HTTPS, which is automatically managed using Let's Encrypt (https://letsencrypt.org) Optional flags: + - `--port` sets the port on which the server listens for HTTP requests [defaults to 8080] - `--https-port` sets the port on which the server listens for HTTPS requests [defaults to 443] - `--https` enables auto HTTPS management via Let's Encrypt (port is always 443) - `--dev-https` generates self-signed SSL certificates for development-only (port is 10443) +- `--docs` runs a local documentation server in case of no network connection +- `--docs-port` sets the port on which the docs server listens for HTTP requests [defaults to 1234] Example: ```bash @@ -136,7 +139,7 @@ $ ponzu run admin (or) $ ponzu run --port=8888 api (or) -$ ponzu --dev-https run +$ ponzu run --dev-https ``` Defaults to `$ ponzu run --port=8080 admin,api` (running Admin & API on port 8080, without TLS) -- cgit v1.2.3