ride / web-cms-vcs
Version control integration for the CMS content of a Ride application
Installs: 3 571
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 9
Forks: 0
Open Issues: 0
Requires
- ride/app: ^1.0.0
- ride/app-vcs: ^1.0.0
- ride/lib-event: ^1.0.0
- ride/lib-mvc: ^1.0.0
- ride/lib-validation: ^1.0.0
- ride/web: ^1.0.0
- ride/web-base: ^1.0.0
README
This module adds version control integration for the CMS structure of a Ride application.
It's used when you have to maintain multiple installations of your CMS site, for example a test instance or a developer instance.
This module will block structural changes on your CMS nodes when you don't have the latest version. A message is displayed to update your repository with a link to the page where you can perform the update action.
Note: this module has a negative performance impact on your backend.
Parameters
- cms.repository.branch: Name of the branch inside the repository eg. content-dev
- cms.repository.private.key: Path to the private key used to access the repository (optional)
- cms.repository.url: URL to the repository eg. git@github.com:all-ride/ride-web-cms-vcs.git
Usage
You can browse to /sites/repository to check the status of your repository. This page allows you to pull the latest changes into your local installation.
When you try to save a CMS node while the local copy of the repository is outdated, your action is blocked and a message is displayed to perform an update action first. This way, you never have to solve merge conflicts.
Related Modules
Installation
You can use Composer to install this module.
composer require ride/web-cms-vcs