Laravel project missing .env file

I am new to laravel and recently I pulled the project from git -hub and it will not start because it lacks the .env file, I tried installing the composer but it did not work. Is there any other way to create a .env file?

+4
source share
2 answers

You can download env.example , rename it to .envand edit. Just set up the correct credentials, etc.

Do not forget to run a command php artisan key:generatethat will generate the application key and add it to the file .env.

+3
source

.env. .

git, .

: .env.example, ( git), .env

+2

Source: https://habr.com/ru/post/1651874/


All Articles