From 8d583403cbbda1687e8e873eb9e4c4424240913c Mon Sep 17 00:00:00 2001 From: Shlee Date: Wed, 15 Jun 2022 18:53:50 +0930 Subject: [PATCH] Update Installer.php --- app/Console/Commands/Installer.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/app/Console/Commands/Installer.php b/app/Console/Commands/Installer.php index f6dcb7c29..a973d1f47 100644 --- a/app/Console/Commands/Installer.php +++ b/app/Console/Commands/Installer.php @@ -66,8 +66,8 @@ class Installer extends Command $this->envCreate(); $this->installType(); - if($this->installType === 'Production') { - $this->info('Installer: Production...'); + if($this->installType === 'Advanced') { + $this->info('Installer: Advanced...'); $this->checkPHPDependencies(); $this->checkFFmpegDependencies(); $this->checkDiskPermissions(); @@ -83,7 +83,15 @@ class Installer extends Command $this->resetArtisanCache(); } else { $this->info('Installer: Simple...'); - exit; + $this->checkDiskPermissions(); + $this->envProd(); + $this->instanceDB(); + $this->instanceRedis(); + $this->instanceURL(); + $this->activityPubSettings(); + $this->instanceSettings(); + $this->dbMigrations(); + $this->resetArtisanCache(); } } @@ -111,7 +119,7 @@ class Installer extends Command protected function installType() { - $type = $this->choice('Select installation type', ['Simple', 'Production'], 1); + $type = $this->choice('Select installation type', ['Simple', 'Advanced'], 1); $this->installType = $type; }