Install laravel on an existing project

I am developing a laravel application and my computer is dying. Now I want to get my project from the repository (Bitbucket + Git), but thanks to the git ignore file, the provider folder is missing. I cannot install the composer in my project because it is forbidden (the directory must be empty). The structure of my project is the same as installing laravel, except that I renamed the shared folder.

I found this topic, but did not solve my problem.

Integrate an existing project using the laravel framework

I want to know the best practice or way to do this, and I don’t think that copying and pasting my project folder into a new larevel installation should be in that.

Thanks.

+7
git bitbucket php laravel composer-php
source share
1 answer

Go to www folder

cd /var/www 

Git clone your application (not that the directory does not exist):

 git clone https://github.com/antonioribeiro/application 

CD to folder

 cd application 

Performing a composer update (if you are in a development environment)

 composer update 

Or install the composer (if you are in a working environment)

 composer install 

Please note that to install the linker or update the composer, files can be actually created in the folder and even the supplier’s folder, there is no such obstacle.

+17
source share

All Articles