ODI Internal Wordpress plugin for indexing created/updated WP contents automatically into a solr index
- Either download the files as zip or clone
git clone https://github.com/OpenDevelopmentMekong/wp-odm_solr.git
into the Wordpress plugins folder. - Install dependencies with composer (http://getcomposer.org)
composer install
- Activate the plugin through the 'Plugins' menu in WordPress
- Install composer http://getcomposer.org/
- Edit composer.json for adding/modifying dependencies versions
- Install dependencies
composer install
- SolariumPHP https://github.com/solariumphp/solarium
Tests are found on /tests and can be run with phpunit tests
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.
This material is copyright (c) 2014-2015 East-West Management Institute, Inc. (EWMI).
It is open and licensed under the GNU General Public License (GPL) v3.0 whose full text may be found at: