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]
Answer based on your comment under in your question:
RuntimeException No application encryption key has been specified.
set a value for the APP_KEY
variable.
At the command line, the following Artisan command to generate a key:
php artisan key:generate
This will generate a random key, you must restart the server and you should no longer see the error message.