How to get it?
Two years ago we initially announced Craft Copy: CLI deployment tools for Craft CMS Apps running on fortrabbit. During the last two years we have refactored and hardened the tool. Thanks to the testers and early adapters for sharing feedback and issues on GitHub.
What problem does it solve?
Understand that it takes the following data types to sync your local changes up and down to your hosting environment.
- Your code: configuration and templates
- The CMS code: pulled in by Composer
- Assets: content images
- MySQL database: the contents themselves
- ( Artifacts: compiled JS & CSS )
Since Craft CMS is ready for Git and also using Composer, it is easy to use
git push to deploy these changes to fortrabbit (point 1 & 2). But we wanted to have something convenient for the other data types as well. Craft Copy provides shortcuts for syncing assets, folders and the database up and down (points 3 - 5).
Craft Copy also contains some other magic to overcome certain gotachs, like settings for different MySQL versions, it also will create a predefined
How to use it?
Please best follow our README here: github.com/fortrabbit/craft-copy
What are the latest changes?
With the latest released we have changed the way assets are handled. Now Craft Copy will iterate over the defined volumes. There also is a new command to sync folders. Please see the release notes for more: github.com/fortrabbit/craft-copy/releases/tag/1.0.0)