Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After 'composer install' my 'vendor' is empty #21

Open
cleargoal opened this issue Jul 22, 2023 · 4 comments
Open

After 'composer install' my 'vendor' is empty #21

cleargoal opened this issue Jul 22, 2023 · 4 comments

Comments

@cleargoal
Copy link

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

@Juanpalacios08
Copy link

Did you solve it?

@cleargoal
Copy link
Author

No.
I use other package instead

@TOA-Anakin
Copy link

TOA-Anakin commented Nov 30, 2023

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

@cleargoal
Copy link
Author

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

Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants