Open jcheron opened 4 years ago
We have added script for the installation:
vendor/bin/rr-ub-install
that facilitates manual manirulations
Unfortunately, composer has limitations on running scripts from dependent packages (I think due to security reasons), so we can't trigger scrips automatically
Note: Only scripts defined in the root package's composer.json are executed. If a dependency of the root package specifies its own scripts, Composer does not execute those additional scripts. https://getcomposer.org/doc/articles/scripts.md
Actually, I hadn't noticed that. If you wish, you can integrate RoadRunner with the devtools.
2 additions are to be made in the Ubiquity file:
This will make it possible to do:
Ubiquity serve -t=roadrunner
Why not use the composer scripts, to facilitate the installation :
The following manipulations:
vendor/bin/rr get
cp vendor/lapinskas/roadrunner-ubiquity/sample/.rr.yml .rr.yml
cp vendor/lapinskas/roadrunner-ubiquity/sample/worker.php worker.php
could be done by a script running on the post-install-cmd event