Improve installation

This commit is contained in:
Dennis Smink
2020-09-23 21:48:27 +02:00
parent 59552cf8e5
commit 2652e7ed71

View File

@@ -21,15 +21,9 @@ class Install extends Command
protected $versionChecker;
protected $installationFile = 'app/installation';
public function __construct()
{
parent::__construct();
$this->versionChecker = (new VersionChecker)->getVersions();
}
public function handle()
{
$this->init();
$this->intro();
$this->isInstalled();
$this->checkApplicationKey();
@@ -45,6 +39,11 @@ class Install extends Command
$this->info('Visit your platform at ' . env('APP_URL'));
}
protected function init()
{
$this->versionChecker = (new VersionChecker)->getVersions();
}
protected function askAboutAdministrationAccount()
{
$this->info('Let\'s start by setting up your administration account.');