Closed markch123 closed 4 years ago
There's no example with ./vendor/bin/yii
anywhere in this repository as far as I've checked. What example do you mean?
I meant the example that I provided had ./vendor/bin/yii while the other examples on the page simply had yii. So to make it more consistent just add
yii queue/listen -v --appconfig=console/config/main.php
.
Next time I will send in a pull request, its easier to understand for all parties :-)
console/config/main.php
should be default. Also, config location is specific for advanced template so I don't think it should be added.
What steps will reproduce the problem?
I found the instructions using yii to run queue commands confusing. In fact I'm still a little lost :) I'm presuming its my fault how I installed yii2. I have however managed to start a queue after much effort and thought it might help others by adding the example into the Basic usage section of the README.md.
./vendor/bin/yii queue/listen -v --appconfig=console/config/main.php
Maybe
./vendor/bin
can be removed from the example but there are several copies of yii in an installation, so it may help. If the example is plainly broken please ignore.What's expected?
What do you get instead?
Additional info