diff --git a/README.md b/README.md index 16f33c35f572e4ec518f7d8851c828fafe0d9f2a..096ef9a00adb2aa107bfff5c392bf6bc5d035bef 100644 --- a/README.md +++ b/README.md @@ -33,12 +33,19 @@ Note: this monorepo uses Lerna, which works best with npm v4 when linking unpubl ## Configuration -To enable manuscript conversion via INK, add the following values to `packages/xpub-collabra/.env.dev` (ask in [the xpub channel](https://mattermost.coko.foundation/coko/channels/xpub) if you need an account): - -``` -INK_USERNAME=***** -INK_PASSWORD=***** -INK_ENDPOINT=http://ink-api.coko.foundation +To enable manuscript conversion via INK, add the following values to `packages/xpub-collabra/config/local.json` (ask in [the xpub channel](https://mattermost.coko.foundation/coko/channels/xpub) if you need an account): + +```json +{ + "pubsweet-server": { + "secret": "__EDIT_THIS__" + }, + "pubsweet-component-ink-backend": { + "inkEndpoint": "__EDIT_THIS__", + "email": "__EDIT_THIS__", + "password": "__EDIT_THIS__" + } +} ``` ## Running the app diff --git a/packages/xpub-collabra/package.json b/packages/xpub-collabra/package.json index 86274cafc0154a8868585fc02abb2f3b2e37d59e..5feaae879298ea1b90bb527783983f823f521beb 100644 --- a/packages/xpub-collabra/package.json +++ b/packages/xpub-collabra/package.json @@ -18,8 +18,8 @@ "prop-types": "^15.5.10", "pubsweet": "git+https://gitlab.coko.foundation/pubsweet/pubsweet-cli.git", "pubsweet-client": "^1.0.0-beta.3", - "pubsweet-component-ink-backend": "0.0.10", - "pubsweet-component-ink-frontend": "^0.1.0", + "pubsweet-component-ink-backend": "^0.0.12", + "pubsweet-component-ink-frontend": "^0.2.2", "pubsweet-component-xpub-app": "^0.0.2", "pubsweet-component-xpub-authentication": "^0.0.2", "pubsweet-component-xpub-dashboard": "^0.0.2",