After 'composer install' my 'vendor' is empty
cleargoal opened this issue · 4 comments
Thanks for your work and please help me.
I work on Linux.
I committed all points of your 'Installation' guide.
After running 'composer install' the packages were downloaded and installed but after it, I see my 'vendor' folder empty.
I use phpStorm.
Where is the 'vendor' which was installed packages in?
Also, how to use these containers with phpStrom?
Volodymyr
Did you solve it?
No.
I use other package instead
The authors of this repo used named volumes instead of bind volumes which is something you usually need when you have a complex CI/CD pipeline. To solve this issue you can simply replace this block in .docker/docker-compose.yml
:
volumes:
- ../:/var/www/symfony:cached
- ../var:/var/www/symfony/var
- ../vendor:/var/www/symfony/vendor
with:
volumes:
- ../:/var/www/symfony
Note: In .docker/docker-compose.yml
there are 2 such blocks (one under the nginx
, the other under the php
service), you have to replace both of them with my block
The authors of this repo used named volumes instead of bind volumes which is something you usually need when you have a complex CI/CD pipeline. To solve this issue you can simply replace this block in
.docker/docker-compose.yml
:volumes: - ../:/var/www/symfony:cached - ../var:/var/www/symfony/var - ../vendor:/var/www/symfony/vendor
with:
volumes: - ../:/var/www/symfony
Note: In
.docker/docker-compose.yml
there are 2 such blocks (one under thenginx
, the other under thephp
service), you have to replace both of them with my block
Thank you very much