Answer the question
In order to leave comments, you need to log in
What to do with the vendor folder when moving a laravel project to a server?
So it goes.
I cloned the project to the server using ssh, got tormented with a 500 error, and finally found out that the vendor folder was on the ignore list of the git.
Why shouldn't it be migrated along with the entire project if the project's work breaks down without it?
Can it be removed from the ignore list or copied? Or should it be installed on the server itself (how?)?
UPD: Put composer on the server and installed all dependencies from there
Answer the question
In order to leave comments, you need to log in
kagbe vendor is the build folder and has nothing to do in the git.
for this, such shnyags as build servers and deploys were invented.
what to do? stupid to copy if better means are not available.
you can, of course, overstock it in the git, but this is still a perversion.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question