Closed MassiAtHG closed 5 years ago
oo, sorry. We are ready to release the new version. so, master contains some new feature codes.
you can:
git checkout v2.0.3
docker-composer up
With v2.0.3 all seems fine. I needed though to amend docker-compose.yml as the container command references '/var/www/swoft/bin/swoft' while docker-compose.yml volume is './:/var/www' (it should be './:/var/www/swoft')
@MassiAtHG yes, we have fixed. will release on today.
Since this issue has been tagged a question, I would like to ask a couple.
Apart from the introduction of a very comprehensive events system, what are the biggest advantages of version 2 in comparison to version 1 of SWOFT?
What are good use cases for the 'breaker' module?
Thanks in advance for any reply.
@MassiAtHG the latest version 2.0.4
has been released. you can pull latest docker image.
We have re-translated the English document, you can directly view the latest document.
If you have a document that you don't understand, you can issue a question on github issues or gitter.im. We will help answer.
Thanks for your professionalism and the great work you are doing.
Details
After GIT cloning of the project I ran 'composer install'. All dependencies are installed properly. I then run 'docker-compose up'; images are properly dowloaded and containers start running. SWOFT container bails out a first time on following error:
This first problem is easily solvable by finding instances of 'Swoft\Server\SwooleEvent' replacing them with 'Swoft\Server\Swoole\SwooleEvent'.
When I start the container again, the following error occurs:
The component 'swoft-process' seems not to be installed, and trying to installing it manually with composer does not resolve correctly.