Improve installation
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user