Skip to content

Commit

Permalink
Add yarn and database sections
Browse files Browse the repository at this point in the history
  • Loading branch information
PadowYT2 committed Jan 3, 2024
1 parent 8a52fc3 commit d916ec4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Commands/QuantumInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,16 @@ public function handle()
}

shell_exec("curl -s -L -o quantum.zip {$response['download_url']}");
shell_exec("unzip -o quantum.zip -d quantum");
shell_exec("unzip -o quantum.zip");
shell_exec("rm -rf quantum.zip");

$this->info('Migrating database');
shell_exec('php artisan migrate --force');
shell_exec('php artisan view:clear && php artisan config:clear');

$this->info("Building Assets (This can take a few minutes)");
shell_exec('yarn && yarn build:production');

$this->info('Installation Complete');
}

Expand Down

0 comments on commit d916ec4

Please sign in to comment.