OpenDevelopmentMekong / opendev-wptheme

Version 1.0 of Open Development frontend - JEO child theme
0 stars 1 forks source link

Open Development

JEO Child theme

Wordpress theme based on JEO. This theme adds custom UI elements and logic.

Dependencies

odm-taxonomy

Integrates https://github.com/OpenDevelopmentMekong/odm-taxonomy as submodule. It is used for the automatic generation of the navigation menu.

Testing

Tests are found on ckanext/odm_dataset/tests and can be run with phpunit tests

Continuous deployment

Everytime code is pushed to the repository, travis will run the tests available on /tests. In case the code has been pushed to master branch and tests pass, the _ci/deploy.sh script will be called for deploying code in CKAN's DEV instance. Analog to this, and when code from master branch has been tagged as release, travis will deploy to CKAN's PROD instance automatically.

For the automatic deployment, the scripts on _ci/ are responsible of downloading the odm-automation repository, decrypting the odm_tech_rsa.enc private key file ( encrypted using Travis-ci encryption mechanism) and triggering deployment in either DEV or PROD environment.