mardi 8 octobre 2019

php artisan key:generate --force not generating the keys

I'm create a script to start my Laravel 5.8 project

#Install dependencies
composer self-update
composer install

# create .env base on .env.example
cat .env.example > .env

#permission
chmod -R 777 .env

#create the key
php artisan key:generate --force

cat .env

#set permission
chmod -R 777 bootstrap/ vendor/ storage/ public/

sleep 1

#clear cache
php artisan config:cache
php artisan cache:clear
composer dump-autoload
php artisan clear-compiled

php artisan key:generate

python -mwebbrowser http://127.0.0.1:8000
php artisan serve

This line does not seem to work.

php artisan key:generate --force

Can someone please help me ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire