Sunday, January 2, 2022

[FIXED] Setup Laravel project after cloning

Issue

So I have just cloned big repo with Laravel project, for the moment this folder (lets call it /var/www/project) does not have vendor folder, .env file, autoload files etc.

Is there some kind of detailed united tutorial with all the steps what should I do next? Install composer (it is already installed on my computer, I have other working projects), generate autoload files and vendors?

Which commands should I run in my console (I have Ubuntu 14.04) to make this folder a working virtual host? Or could someone be so kind to give me all the instructions?


Solution

  1. run composer install to generate depedencies in vendor folder
  2. change .env.example to .env
  3. run php artisan key:generate
  4. configure .env

basiclly you need do these things, more info you should check docs



Answered By - Raymond Cheng

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.