...
In addition to obtaining the client data from NYPL, you also must have completed the process to Create a New Library. After you've created the library, you're ready to configure the library's short client token.
Step-by-step guide
Excerpt |
---|
You can actually configure the client token using either the circ-scripts or circ-webapp containers. The containers currently (v2.2.5) have slightly different entry paths, but otherwise the process is the same. Use the information you obtained from NYPL in the previous step, Obtain a DRM Client Secret from NYPL, to substitute for the placeholders shown in the following steps: - Log into the
circ-scripts container's host instance - Enter the container:
sudo docker exec -it circ-scripts /bin/bash - Activate the Python virtual environment:
source ../env/bin/activate - Run the script:
./configuration/short_client_token_library_configuration --vendor-id="NYPL" --website-url <url> --short-name <shortname> --secret <shared_secret> - To finish, deactivate the virtual environment:
deactivate - Exit the container:
exit
|
...