Skip to content

Commit

Permalink
Remove command --help it is out of date.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Mar 12, 2020
1 parent 59bf99b commit 625b892
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions README.md
Expand Up @@ -47,39 +47,16 @@ Alternatively, install in terminal:

You can run `falcon serve` directly. It will load the `config.ru` and start serving on https://localhost:9292. Please [try the interactive online tutorial](https://katacoda.com/ioquatix/scenarios/falcon-introduction).

The `falcon serve` command has the following options for you to use:

```
$ falcon --help
falcon [--verbose | --quiet] [-h/--help] [-v/--version] <command>
An asynchronous HTTP server.
[--verbose | --quiet] Verbosity of output for debugging.
[-h/--help] Print out help information.
[-v/--version] Print out the application version.
<command> One of: serve, virtual. Default: serve
serve [-b/--bind <address>] [-p/--port <number>] [-h/--hostname <hostname>] [-t/--timeout <duration>] [--reuse-port] [-c/--config <path>] [--forked | --threaded | --hybrid] [-n/--count <count>] [--forks <count>] [--threads <count>]
Run an HTTP server.
[-b/--bind <address>] Bind to the given hostname/address Default: https://localhost:9292
[-p/--port <number>] Override the specified port
[-h/--hostname <hostname>] Specify the hostname which would be used for certificates, etc.
[-t/--timeout <duration>] Specify the maximum time to wait for blocking operations. Default: 60
[--reuse-port] Enable SO_REUSEPORT if possible. Default: false
[-c/--config <path>] Rackup configuration file to load Default: config.ru
[--forked | --threaded | --hybrid] Select a specific parallelism model Default: forked
[-n/--count <count>] Number of instances to start. Default: 8
[--forks <count>] Number of forks (hybrid only).
[--threads <count>] Number of threads (hybrid only).
```

To run on a different port:

```
$ falcon serve --port 3000
```

### Production



### Virtual Hosts

Falcon can replace Nginx as a virtual server for Ruby applications. **This is an experimental feature**.
Expand Down

0 comments on commit 625b892

Please sign in to comment.