Skip to content

Commit dd2641f

Browse files
committed
Mighty Ducks V2
1 parent a151f70 commit dd2641f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

StarterKitPostInstall.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,14 @@ public function handle($console)
4646
$this->runProcess(['php', 'artisan', 'config:clear'], $console, 'laravel config cleared');
4747
$this->runProcess(['php', 'artisan', 'cache:clear'], $console, 'laravel cache cleared');
4848

49+
$this->runProcess(['composer', 'require', 'laravel/horizon'], $console, 'laravel horizon installed');
50+
$this->runProcess(['php', 'artisan', 'horizon:install'], $console, 'horizon assets published');
51+
52+
$this->runProcess(['php', 'artisan', 'queue:restart'], $console, 'queues restarted');
53+
4954
$this->runProcess(['npm', 'install', '--force'], $console, 'npm packages installed');
5055

5156
$console->info('<info>[✓]</info> starter kit installed!');
52-
$console->info('<info>[✓]</info> Please remember to run php artisan horizon:install to add the Horizon assets. ');
53-
$console->info('<info>[✓]</info> Run php artisan queue:restart to start the queue again. ');
5457
}
5558

5659
private function runProcess(array $command, $console, string $successMessage): void

0 commit comments

Comments
 (0)