summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2023-12-21 11:13:14 +0100
committerValery Piashchynski <[email protected]>2023-12-21 11:13:14 +0100
commitb707643f9ebfbeb0fb80bc970f310e8302dba3b5 (patch)
treeddec80f115f28525fb86754d9243919a046b8a54 /README.md
parent4b1085c6f9a901596b622e15182e18692e65f93d (diff)
chore: improve README docs
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 78f2405a..00c5b720 100644
--- a/README.md
+++ b/README.md
@@ -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
```
@@ -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)