Skip to content

Commit 189aafb

Browse files
author
Kent Richards
committed
README formatting.
1 parent 2f51be5 commit 189aafb

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,28 @@ View / report issues at https://github.com/kentr/php-pm-drupal/issues.
1515
1. Install Drupal.
1616

1717
2. From the Drupal web root, install this project with composer: `composer require kentr/php-pm-drupal-adapter`.
18+
1819
This will also install PHP-PM and the default React <-> Symfony bridge (php-pm/httpkernel-adapter).
1920

2021
3. Apply these patches to Drupal core:
2122
* `vendor/kentr/php-pm-drupal-adapter/patches/kentr-allow-repeated-setSitePath-in-DrupalKernel.patch`
2223
* `vendor/kentr/php-pm-drupal-adapter/patches/stop_using-2505339-24.patch`
2324

24-
4. Start php-pm with `sudo <absolute path to web root>/vendor/bin/ppm start <absolute path to web root> --bridge=httpKernel --bootstrap=PHPPM\\Bootstraps\\Drupal`.
25-
Example: `sudo vendor/bin/ppm start /var/www/html/ --bridge=httpKernel --bootstrap=PHPPM\\Bootstraps\\Drupal`
25+
4. Start php-pm with
26+
27+
```bash
28+
sudo <absolute path to web root>/vendor/bin/ppm \
29+
start \
30+
<absolute path to web root> \
31+
--bridge=httpKernel \
32+
--bootstrap=PHPPM\\Bootstraps\\Drupal
33+
```
34+
35+
Example:
36+
```bash
37+
sudo /var/www/html/vendor/bin/ppm \
38+
start \
39+
/var/www/html/ \`
40+
--bridge=httpKernel \`
41+
--bootstrap=PHPPM\\Bootstraps\\Drupal
42+
```

0 commit comments

Comments
 (0)