vanilophp / demo

Vanilo Demo Application
https://vanilo.io/docs/
190 stars 54 forks source link

It is unsafe to run Dusk in production #15

Closed tyrog07 closed 3 years ago

tyrog07 commented 5 years ago

i am getting these when trying to run artisan commands please help

fulopattila122 commented 5 years ago

Could you provide with more Information please?

tyrog07 commented 5 years ago

F:\xampp_new\htdocs\vanilo_demo\demo>php artisan key:generate

In DuskServiceProvider.php line 43:

It is unsafe to run Dusk in production.

this is what i am getting in cmd

fulopattila122 commented 5 years ago

What is the value of APP_ENV in your .env file?

tyrog07 commented 5 years ago

Local

InstantProgramming commented 5 years ago

Just delete .env.dusk.local.example and rename .env.exemple to => .env and run "php artisan key:generate" to console.

pedroreartes commented 5 years ago

you must to set the .env file first