We'll create fresh WordPress site with Climate Tagger installed. You have 20 minutes to test the plugin after that site we'll be deleted.
The Climate Tagger Plugin for WordPress is a simple, FREE and easy-to-use way to
integrate the well-known Climate Tagger API into your WordPress site. The
Climate Tagger API has been helping knowledge-driven web
sites better catalogue, categorize, contextualize and connect their data with
that from the broader climate knowledge community since 2011. The Climate Tagger
is backed by an expansive Climate Compatible Development Thesaurus, developed by
experts in multiple fields and continuously updated to remain current.
The tags suggested by the Climate Tagger are displayed in a word cloud, with the
most relevant tags appearing larger.
The plugin is based on Thoth’s Suggested
Tags. More information
about the Climate Tagger is available at
http://www.climatetagger.net
This plugin uses wp-cli and PHPUnit for testing.
The tests require runkit for mocking functions.
Grab the latest source from github:
$ git clone [email protected]:aptivate/climate-tagger.git
Install wp-cli
Set up runkit:
$ git clone https://github.com/zenovich/runkit.git
$ cd runkit
$ phpize
$ ./configure
$ sudo make install
Add the following lines to /etc/php5/cli/php.ini
:
extension=runkit.so
runkit.internal_override=1
Install the test WordPress environment:
cd climate-tagger
bash bin/install-wp-tests.sh test_db_name db_user ‘db_password’ db_host version
where:
** test_db_name
is the name for your temporary test WordPress database
** db_user
is the database user name
** db_password
is the password
** db_host
is the database host (eg localhost
)
** version
is the version of WordPress (eg 4.2.2
or latest
)