]> _ Git - cubist_cms-back.git/commitdiff
#2810
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 11 Jun 2019 15:42:02 +0000 (17:42 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 11 Jun 2019 15:42:02 +0000 (17:42 +0200)
src/CubistBackpackServiceProvider.php
src/app/Console/Commands/InstallCommand.php

index 5bd800b761a54c619dffe71a63df9c39b1830596..024f82ad0a795bd83b49f462758a612bb4baf597 100644 (file)
@@ -4,6 +4,7 @@ namespace Cubist\Backpack;
 
 use Cubist\Backpack\app\Console\Command\MigrateCommand;
 use Cubist\Backpack\app\Console\Commands\GenerateCommand;
+use Cubist\Backpack\app\Console\Commands\InstallCommand;
 use Illuminate\Support\ServiceProvider;
 
 class CubistBackpackServiceProvider extends ServiceProvider
@@ -50,6 +51,6 @@ class CubistBackpackServiceProvider extends ServiceProvider
 //        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
 //        $loader->alias('Template', \Backpack\Settings\app\Models\Template::class);
 
-        $this->commands([GenerateCommand::class, MigrateCommand::class]);
+        $this->commands([InstallCommand::class, GenerateCommand::class, MigrateCommand::class]);
     }
 }
index 397042c6505751e154fe236298f055e5bcd9cc81..1a7b40670672e6a39e4164f8c2b258ec4884959a 100644 (file)
@@ -34,6 +34,7 @@ class InstallCommand extends CubistCommand
                 'php artisan migrate',
                 'php artisan cubist:magic:migrate'
             ],
+            'Clear caches' => ['php artisan cache:clear'],
         ];
 
         $this->progressBar = $this->output->createProgressBar(count($commands));