From 95e702c0c817d6f0ffb8e613b6269bd7626c6569 Mon Sep 17 00:00:00 2001 From: Glenn Hermans Date: Mon, 5 Oct 2020 11:04:30 +0200 Subject: [PATCH] fixed #3953 --- packages/Webkul/Core/src/Console/Commands/Install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/Webkul/Core/src/Console/Commands/Install.php b/packages/Webkul/Core/src/Console/Commands/Install.php index 10ef62e71..d0a2545d6 100644 --- a/packages/Webkul/Core/src/Console/Commands/Install.php +++ b/packages/Webkul/Core/src/Console/Commands/Install.php @@ -38,7 +38,7 @@ class Install extends Command public function handle() { $this->checkForEnvFile(); - sleep(3); + // running `php artisan migrate` $this->warn('Step: Migrating all tables into database...'); $migrate = $this->call('migrate:fresh'); @@ -90,6 +90,7 @@ class Install extends Command $this->info('Creating the environment configuration file.'); $this->createEnvFile(); } else { + $this->call('key:generate'); $this->info('Great! your environment configuration file already exists.'); } }