I have cloned repo from git, and made composer install
.
Then I am starting a server, but every time I get 500 server error.
Also, I tried to create a new project with composer create-project --prefer-dist laravel/laravel blog
and this project works fine.
In my error log i got an error like:
production.ERROR: No application encryption key has been specified. {"exception":"[object] (RuntimeException(code: 0): No application encryption key has been specified. at C:\OSPanel\domains\contact-fw-domanskyi\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php:44) [stacktrace]
When you clone the git repo you must follow these steps to run the project:
composer install
php artisan key:generate
php artisan migrate
php artisan db:seed
to run seeders, if any.php artisan serve
Now, your project will run. Good Luck!!