Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Commit

Permalink
Server command examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
CupOfTea696 committed May 3, 2015
1 parent 4943c5d commit 51240f6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@ The `twostream:listen` command allows you to set a bunch of options when you sta
- `-P or --push-port`: Equivalent of [`push.port`](docs/configuration/#push-settings) in the configuration.
- `-f or --flash `: Equivalent of [`flash.allowed`](docs/configuration/#legacy-settings) in the configuration. Set to `true` or `false`.
- `-F or --flash-port`: Equivalent of [`push.port`](docs/configuration/#legacy-settings) in the configuration.

## Examples

```bash
# Run TwoStream on port 5555:
$ php artisan twostream:listen -g 5555

# Enable Push on port 2222:
$ php artisan twostream:listen -p true -P 2222
```

0 comments on commit 51240f6

Please sign in to comment.