PHP Artisan Error
liveweb22 opened this issue · 2 comments
liveweb22 commented
Hi, when i try to generate a key for Artisan, i get this error
In KeyGenerateCommand.php line 96:
file_get_contents(/var/www/html/estarter-ecommerce-for-laravel/.env): faile
d to open stream: No such file or directory
hanynasyr commented
create an .env file. You can copy the co tents from sample.env file. then
try running the command again.
…On Feb 27, 2018 20:00, "liveweb22" ***@***.***> wrote:
Hi, when i try to generate a key for Artisan, i get this error
In KeyGenerateCommand.php line 96:
file_get_contents(/var/www/html/estarter-ecommerce-for-laravel/.env):
faile
d to open stream: No such file or directory
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHtNT50ONJZNVLaJE1H8_bGRZ5PKwLBwks5tZBijgaJpZM4SVFBI>
.
paulduca commented
@liveweb22 Do not forget to add these lines at the end of your .env file
ADMIN_ROLE_NAME=administrator
CLIENT_ROLE_NAME=client