plutonianbe/deployer-craftcms-db

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

1.2.4 2021-01-07 09:29 UTC

This package is auto-updated.

Last update: 2024-04-07 17:28:26 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.