This repository has been archived by the owner on Nov 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Installing Zotero Components On a Mac
cam156 edited this page Oct 16, 2015
·
18 revisions
- Install Node
brew install node
- Install arkivo-sufia
mkdir arkivo-sufia
cd archivo-sufia
npm install arkivo-sufia hiredis arkivo
- Configure arkivo-sufia
mkdir config
vi config/default.json
Paste in default json
{
"arkivo": {
"plugins": [ "arkivo-sufia" ]
}
}
- Check to make sure the sufia plugin is installed
$(npm bin)/arkivo-plugins list
You should see the following output
1 plugin(s) available.
sufia: Synchronizes data to a Sufia host.
- Run arkivo-sufia
The following command will run arkivo in the current context and output debug information about what is happening as arkivo runs. Omit the DEBUG= if you do not wish to see the debug
DEBUG=arkivo:*,zotero* $(npm bin)/arkivo up
- Configuring ScholarSphere for zotero
You will need an account on Zotero (see sites for the PSU account) and then go to zotero oauth to generate or retrieve a key.
Once you have the Client Secret and Client Key edit config/zotero.yml to include them
- Test the zotero Connection
Edit a user profile and you should see Zotero Profile as an option
-
Clearing the zotero connection for a user
> u = User.find_by(login:"cam156") > u.arkivo_subscription = nil; > u.zotero_token = nil; > u.zotero_userid = nil; > u.save