Skip to content

Commit

Permalink
package installation setup updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Raza9798 committed Jun 17, 2024
1 parent 8e88030 commit d9dfca5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/Controller/BackupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ public function configureDatabaseDump(){
} else {
(new Banner())->error('Failed to update config file');
}
} else {
(new Banner())->error('Configuration already exsists');
}
}
}
}
6 changes: 5 additions & 1 deletion src/RapidKitProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\ServiceProvider;
use Intelrx\Rapidkit\assets\Banner;
use Intelrx\Rapidkit\Config\Config;
use Intelrx\Rapidkit\Console\Commands\InitilizeCommand;
use Intelrx\Rapidkit\Console\Commands\ResourceGeneratorCommand;
use Intelrx\Rapidkit\Console\Commands\RapidKitSupportCommand;
Expand All @@ -30,7 +32,9 @@ public function boot(): void
RapidKitSupportCommand::class,
]);

Artisan::call("rapid:install");
(new Banner())->renderTitle('RapidKit is ready to use!');
(new Banner())->line("LARAVEL RAPID KIT " . Config::VERSION);
(new Banner())->line("Type 'php artisan rapid:install' to install and configure RapidKit package.");
}


Expand Down

0 comments on commit d9dfca5

Please sign in to comment.