Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Feb 26, 2021
1 parent 0b935ea commit 0f08273
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,13 @@ This plugin will add a SWORD service to OJS. For now, it
only provides a partial implementation of the SWORD ServiceDocument.

## Install and Test

Check this repo out to `plugins/gateway`:

cd <path_to_ojs_root>/plugins/gateway
git clone https://github.com/quoideneuf/ojs_sword_server
cd ojs_sword_server
git clone https://github.com/swordapp/swordappv2-php-library
composer update
Use the plugin gallery from within OJS to install the plugin.

Enable the plugin under Settings -> Website -> Plugins -> Gateway Plugins

Start OJS on `localhost:8000` using the test database.

Check out the SWORD client library and run tests:

git clone https://github.com/swordapp/swordappv2-php-library
export SWORD_ENDPOINT_URL=http://localhost:8000/index.php/publicknowledge/gateway/plugin/swordServer
composer test

0 comments on commit 0f08273

Please sign in to comment.