Skip to content

Commit

Permalink
chore: improve README docs
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
  • Loading branch information
rustatian committed Dec 21, 2023
1 parent 4b1085c commit b707643
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ Configuration located in the `.rr.yaml` file ([full sample](https://github.com/r


## Installation via Composer
You can also install RoadRunner automatically using command shipped with the composer package, run:
You can also install RoadRunner automatically using the command shipped with the composer package, run:

```bash
composer require spiral/roadrunner-http nyholm/psr7
composer require spiral/roadrunner-http spiral/roadrunner-worker nyholm/psr7
./vendor/bin/rr get-binary
```

Expand Down Expand Up @@ -168,6 +168,10 @@ while ($req = $worker->waitRequest()) {
}
```

> [!IMPORTANT]
> If you see the `EOF` error, check that you have installed the PHP packages from [this step](https://github.com/roadrunner-server/roadrunner#installation-via-composer).
> If this does not help, try to execute the command `php worker.php` directly and check the output.
---

### Available Plugins: [link](https://roadrunner.dev/docs)
Expand Down

0 comments on commit b707643

Please sign in to comment.