Command line installation utility, console status strings written.

This commit is contained in:
Prashant Singh 2019-09-11 06:41:48 +05:30
parent e0778b394a
commit 2c45bddb11
1 changed files with 10 additions and 2 deletions

View File

@ -136,18 +136,26 @@ class BagistoInstall extends Command
\Artisan::call('config:cache');
$this->info('Running migrations...');
\Artisan::call('migrate');
$this->info('Migrations complete');
$this->info('Migration completed.');
$this->info('Running seeders...');
\Artisan::call('db:seed', ['--force' => true]);
$this->info('Seeding complete');
$this->info('Seeders finished.');
\Artisan::call('storage:link');
$this->info('Storage link created...');
\Artisan::call('vendor:publish', [0]);
$this->info('All provider tags are published...');
$this->info('Installation completed.');
$this->info('Please write us: SUPPORT@BAGISTO.COM');