Config Cache Changes Added In Very Begining
This commit is contained in:
parent
9b24f3b1c7
commit
a4e268095c
|
|
@ -39,6 +39,11 @@ class Install extends Command
|
||||||
{
|
{
|
||||||
$this->checkForEnvFile();
|
$this->checkForEnvFile();
|
||||||
|
|
||||||
|
// cached new changes
|
||||||
|
$this->warn('Step: Caching new changes...');
|
||||||
|
$cached = $this->call('config:cache');
|
||||||
|
$this->info($cached);
|
||||||
|
|
||||||
// running `php artisan migrate`
|
// running `php artisan migrate`
|
||||||
$this->warn('Step: Migrating all tables into database...');
|
$this->warn('Step: Migrating all tables into database...');
|
||||||
$migrate = $this->call('migrate:fresh');
|
$migrate = $this->call('migrate:fresh');
|
||||||
|
|
@ -64,11 +69,6 @@ class Install extends Command
|
||||||
$result = shell_exec('composer dump-autoload');
|
$result = shell_exec('composer dump-autoload');
|
||||||
$this->info($result);
|
$this->info($result);
|
||||||
|
|
||||||
// cached new changes
|
|
||||||
$this->warn('Step: Caching new changes...');
|
|
||||||
$cached = $this->call('config:cache');
|
|
||||||
$this->info($cached);
|
|
||||||
|
|
||||||
$this->info('-----------------------------');
|
$this->info('-----------------------------');
|
||||||
$this->info('Congratulations!');
|
$this->info('Congratulations!');
|
||||||
$this->info('The installation has been finished and you can now use Bagisto.');
|
$this->info('The installation has been finished and you can now use Bagisto.');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue