You can install the package in a Laravel app that uses Nova via composer:
composer require wessama/nova-bitbucket-pipelines
Next up, you must register the card with Nova. This is typically done in the cards
method of a Dashboard
class.
public function cards()
{
return [
// ...
(new \WessamA\NovaBitbucketPipelines\Pipelines()),
];
}
Before using the package, you need to set up your environment variables and publish the configuration file to customize the package according to your needs.
-
Open your
.env
file in the root of your Laravel project. -
Find and set the following environment variables related to the Bitbucket API:
BITBUCKET_API_ROOT=https://api.bitbucket.org # Default API root URL (you may not need to change this) BITBUCKET_API_VERSION=2.0 # Default API version (you may not need to change this) BITBUCKET_APP_PASSWORD=your_app_password # Replace 'your_app_password' with your actual Bitbucket app password BITBUCKET_USERNAME=your_username # Replace 'your_username' with your actual Bitbucket username BITBUCKET_WORKSPACE_WEB_NAME=your_workspace_name # Replace with your workspace name BITBUCKET_WORKSPACE_WEB_REPO_NAME=your_repo_name # Replace with your repository name
To publish the package’s configuration file to your application's config
directory, run the following command:
php artisan vendor:publish --tag=config --provider="WessamA\NovaBitbucketPipelines\CardServiceProvider"
Please see CHANGELOG for more information on what has changed recently.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.