Add missing artisan calls in CLI installation

This commit is contained in:
Pig Fang 2019-04-26 12:33:43 +08:00
parent 262d48e1f7
commit 748c275969

View File

@ -22,6 +22,8 @@ class ExecuteInstallation extends Command
$this->call('key:random');
$this->call('salt:random');
$this->call('migrate', ['--force' => true]);
$this->call('jwt:secret', ['--no-interaction' => true]);
$this->call('passport:keys', ['--no-interaction' => true]);
$siteUrl = url('/');
if (ends_with($siteUrl, '/index.php')) {