InstallWizard
class InstallWizard
Properties
| [type] | $errors | [$errors description] |
Methods
Creats a new Install Wizard.
Validates the admin user data for us
Create the admin user for the installer. This will create the user with the email and password given and then it will also put that user into the admin group
Save input value submitted for "configsoverride" to the key "CONFIGSOVERRIDE" in .env file
Saves the new application key if there isn't already one set We need this set early on so it doesn't screw up our tokens and password hashes.
Saves this app name
Saves the environment for us
Save the migration and seed settings
Saves the database settings for us
[installDevise description]
[checkAssets description]
[installAssets description]
Reloads env settings and also updates the configurations in Laravel for anything that might change during the install process. Things like app.key, app.debug, database stuff, mail stuff, cache and session settings.
Details
at line 62
__construct(SettingsManager $SettingsManager, EnvironmentFileManager $EnvironmentFileManager, Framework $Framework, DatabaseCreator $DatabaseCreator, DeviseInstallCommand $DeviseInstallCommand, DevisePublishAssetsCommand $DevisePublishAssetsCommand, DvsUser $DvsUser, DvsGroup $DvsGroup)
Creats a new Install Wizard.
..
at line 93
void
validateAdminUser($email, $username, $password)
Validates the admin user data for us
at line 119
DvsUser
createAdminUser($email, $username, $password)
Create the admin user for the installer. This will create the user with the email and password given and then it will also put that user into the admin group
at line 147
void
saveConfigsOverride($value = 'no')
Save input value submitted for "configsoverride" to the key "CONFIGSOVERRIDE" in .env file
at line 160
void
saveNewApplicationKey()
Saves the new application key if there isn't already one set We need this set early on so it doesn't screw up our tokens and password hashes.
at line 176
void
saveApplicationNamespace(string $appName)
Saves this app name
at line 188
void
saveEnvironment(string $env)
Saves the environment for us
at line 208
[type]
saveApplicationMigrationAndSeedSettings([type] $migrations, [type] $seeds)
Save the migration and seed settings
at line 226
saveDatabase(string $default, string $host, string $name, string $username, string $password)
Saves the database settings for us
at line 262
void
installDevise()
[installDevise description]
at line 273
[type]
checkAssets()
[checkAssets description]
at line 288
[type]
installAssets()
[installAssets description]
at line 303
void
refreshEnvironment(array $settings = array())
Reloads env settings and also updates the configurations in Laravel for anything that might change during the install process. Things like app.key, app.debug, database stuff, mail stuff, cache and session settings.
.. this is a hack for people who use php artisan serve ... no one else really needs this hackery...