Update Installer.php

This commit is contained in:
Shlee 2022-06-15 19:15:12 +09:30 committed by GitHub
parent a0efe2b408
commit df51e838bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -371,9 +371,17 @@ class Installer extends Command
if($confirm === 'Yes') {
sleep(3);
$this->line('');
$this->info('Migrating DB:');
$this->call('migrate', ['--force' => true]);
$this->line('');
$this->info('Importing Cities:');
$this->callSilently('import:cities');
$this->line('');
$this->info('Creating Federation Instance Actor:');
$this->callSilently('instance:actor');
$this->line('');
$this->info('Creating Password Keys for API:');
$this->callSilently('passport:keys, ['--force' => true]);
$confirm = $this->choice('Do you want to create an admin account?', ['Yes', 'No'], 0);