Config Cache Changes Added In Very Begining

This commit is contained in:
devansh bawari 2020-10-28 13:10:07 +05:30
parent 9b24f3b1c7
commit a4e268095c
1 changed files with 5 additions and 5 deletions

View File

@ -39,6 +39,11 @@ class Install extends Command
{
$this->checkForEnvFile();
// cached new changes
$this->warn('Step: Caching new changes...');
$cached = $this->call('config:cache');
$this->info($cached);
// running `php artisan migrate`
$this->warn('Step: Migrating all tables into database...');
$migrate = $this->call('migrate:fresh');
@ -64,11 +69,6 @@ class Install extends Command
$result = shell_exec('composer dump-autoload');
$this->info($result);
// cached new changes
$this->warn('Step: Caching new changes...');
$cached = $this->call('config:cache');
$this->info($cached);
$this->info('-----------------------------');
$this->info('Congratulations!');
$this->info('The installation has been finished and you can now use Bagisto.');