wp-odm_solr
Wordpress plugin used for automatically index created/updated contents into a solr index
by Alex Corbi (mail@lifeformapps.com) · github.com/opendevelopmentmekong/wp-odm_solr · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/opendevelopmentmekong/wp-odm_solr/archive/refs/heads/main.zipODI Internal Wordpress plugin for indexing created/updated WP contents automatically into a solr index
Description
Features
Feature 1: Add related CKAN datasets to posts.
Installation
- Either download the files as zip or clone
git clone https://github.com/OpenDevelopmentMekong/wp-odm_solr.gitinto the Wordpress plugins folder. - Install dependencies with composer (http://getcomposer.org)
composer install - Activate the plugin through the 'Plugins' menu in WordPress
Development
- Install composer http://getcomposer.org/
- Edit composer.json for adding/modifying dependencies versions
- Install dependencies
composer install
Uses
- SolariumPHP https://github.com/solariumphp/solarium
Testing
Tests are found on /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.
Copyright and License
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: