2.x-dev
2.9999999.9999999.9999999-devUpdating tool for govCMS
GPL-3.0
The Requires
by Josh Waihi
drupal govcms
dev-master
9999999-devUpdating tool for govCMS
GPL-3.0
The Requires
by Josh Waihi
drupal govcms
Wallogit.com
2017 © Pedro Peláez
Updating tool for govCMS
A building script for managing govCMS updates for downstream PaaS projects., (*1)
Run this as apart of your govCMS site project. You can either download a release from github or clone it directly into your existing working project., (*2)
git clone https://github.com/fiasco/govcms-updater.git
Once download, you'll need to install the composer dependancies., (*3)
Note: Be sure not to commit this to git as a submodule. It may be best to not track it at all., (*4)
cd govcms-updater && composer install
To create a new govCMS project or to update an existing one, run this command:, (*5)
./govcms-updater/updater.sh
This will build govCMS in a folder called docroot next to the govcms-updater project.
This will build govCMS from the master branch which is not an official release. If you want to use an official release you can pass a release tag as an argument., (*6)
./govcms-updater/updater.sh 7.x-2.0-beta10
govcms-updater will overwrite the contents of docroot with the contents of govCMS when run with the exception of docroot/sites which will be preserved. Any local modules (such as feature exports), themes, libraries and site configuration should be stored in docroot/sites to avoid it being overridden., (*7)
govcms-updater comes with hooks that can run scripts before and after the import phase of the udpate where the govCMS update replacees the existing docroot folder. These hooks can be used to preserve and re-establish modifications to govCMS that are tracked locally only such as patches., (*8)
For example, you may enforce SSL through a modification to .htaccess or store additional assets like a style guide under the webroot., (*9)
To use these hooks, simple remove the ".disabled" extension from the shell scripts in the hooks directory., (*10)
mv hooks/post-import.sh.disabled hook/post-import.sh mv hooks/pre-import.sh.disabled hook/pre-import.sh
Updating tool for govCMS
GPL-3.0
drupal govcms
Updating tool for govCMS
GPL-3.0
drupal govcms