S
S
suhuxa12017-07-24 13:35:24
git
suhuxa1, 2017-07-24 13:35:24

What laravel files should be installed on git?

Good afternoon!
A question. I'm doing a project on Laravel, put git on the whole project. Auto-deploy takes an unrealistically long time, in about 2 hours a full deployment cycle takes place, despite the fact that the archive with the entire project is transferred to the server in 7 seconds. But I got tired of constantly unpacking, so I made an auto-deploy. And then the idea came to mind that auto-deploy should be not only a project, but certain folders: app, public, web, resources, and composer config. Right? Or did I go somewhere in the wrong place, should I do everything differently?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D3lphi, 2017-07-24
@suhuxa1

When creating a project, Laravel itself creates the necessary .gitignore files. Everything is under version control except :
Such a long deployment, apparently, is due to the fact that vendor is also under vcs control.
If you need to deploy the project again, do a git clone and then do a composer install and wait for the dependencies to pull up.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question