Fix the integration guide and installer after a test with a fresh agent
This commit is contained in:
1 parent
9ff162460d
commit
441d76ef96
7 files changed
+51
-23
No files matched your search
@@ -71,6 +71,13 @@ class InstallCommand extends Command
|
||||
$this->line('Run `php artisan migrate` (a new process) so the migrations of the modules you switched on are loaded.');
|
||||
}
|
||||
|
||||
if ($env !== []) {
|
||||
// This process still has the old config: its check would report the old state. A new process is right.
|
||||
$this->line('Next: add the HasManagerAccess trait to the user model, run `php artisan config:clear && php artisan migrate && php artisan storage:link`, then `php artisan manager:doctor --json`.');
|
||||
|
||||
return self::SUCCESS;
|
||||
}
|
||||
|
||||
return Artisan::call('manager:doctor', $this->option('json') ? ['--json' => true] : [], $this->output) === 0 ? self::SUCCESS : self::FAILURE;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user