plutonianbe/deployer-craftcms-db

Deployer recipe for CraftCMS 3 that provides database pull and push functionalities.

1.2.5 2024-06-07 06:47 UTC

This package is auto-updated.

Last update: 2024-12-06 18:33:31 UTC


README

Deployer recipe for CraftCMS 3 that provides database pull and push functionalities.

Installation

Use composer to install the package and its recipes:

composer require plutonianbe/deployer-craftcms-db --dev

After the installation include the recipes in your deployment configuration file (deploy.php):

require __DIR__ . '/vendor/plutonianbe/deployer-craftcms-db/craft-db.php';

Available tasks

db:pull

Pulls the database from the remote host and replaces the local one.

db:push

Pushes the local database to the remote host and replaces it.

License

Licensed under the MIT license.