WP Manifestindependent plugin directory
manifest / integrations / commons-connect-client

CC Client

Client plugin for WordPress (subtree of CommonsConnect)

by The WordPress Contributors · github.com/mesh-research/commons-connect-client

0stars
503composer installs
0forks

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/mesh-research/commons-connect-client/archive/refs/heads/main.zip

Also on Packagist as mesh-research/cc-client:

composer require mesh-research/cc-client

From the readme

Commons Connect Client Plugin This plugin provides WordPress blocks that interface with the Commons Connect API. Getting Started 1. Install Lando. 2. Clone the CommonsConnect repository. 3. In the cc-client directory, run lando start. 4. Open the test site at . 5. You can login to the WordPress admin at with the username admin and password admin. Interacting with the Search API The Search block requires a running CommonsConnect search service: 1. Change to the cc-search directory. 2. Run lando start. 3. In the cc-client directory, run lando wp cc search status to verify that the plugin can connect to the search service. 4. In the cc-client directory, run lando wp cc search provisiontestdocs to load test data into the search service. Configuration The Search API client timeouts and provisioning resilience behaviour are configurable via environment variables. See docs/search-api-timeouts.md for the available CCSEARCHTIMEOUT and CCSEARCHCONNECTTIMEOUT settings and how the plugin avoids blocking the request when the Search API is unavailable. Running Tests Tests use the WordPress test functionality and PHPUnit. They require a running cc-search API. By default this is the loc

Read the full README on GitHub →