Requirements
Ensure that these basic requirements are met:
- Php 7.4 or higher
- Laravel 6.0 or higher
Ensure that these basic requirements are met:
You can install the package via composer:
composer require techies-africa/devpilot_laravel
The service provider will automatically get registered. Or you may manually add the service provider in your config/app.php file:
'providers' => [
// ...
TechiesAfrica\Devpilot\Providers\DevpilotServiceProvider::class,
];
You can also add the alias to the list of class aliases right after the list of providers for shorter imports:
'aliases' => [
// ...
"Devpilot" => TechiesAfrica\Devpilot\Providers\DevpilotServiceProvider::class,
];
You`re almost done. Run the following command on your terminal to install the necessary configurations:
php artisan devpilot:install
The following files and directories would be generate once this command completes running:
To complete the installation, add these to your .env file and set the right values:
DEVPILOT_BASE_URL="https://devpilot.io/api/v1"
DEVPILOT_DEFAULT_BRANCH="master"
DEVPILOT_LOG_CHANNEL="stack"
DEVPILOT_ENABLE_DEPLOYMENT=true
DEVPILOT_ENABLE_ACTIVITY_TRACKING=true
DEVPILOT_USER_TOKEN="******"
DEVPILOT_APP_KEY="********"
DEVPILOT_APP_SECRET="*********"