D
D
Denis Bukreev2017-04-24 08:13:38
git
Denis Bukreev, 2017-04-24 08:13:38

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

1 answer(s)
D
DevMan, 2017-04-24
@denisbookreev

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 question

Ask a Question

731 491 924 answers to any question