Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Installing Zotero on the QA server

cam156 edited this page Dec 15, 2015 · 2 revisions

Follow the steps here using wget to install nvm: https://github.com/psu-stewardship/scholarsphere/wiki/Installing-Zotero-Components-On-a-Mac

Configure for redis before step 3

{
  "arkivo": {
    "plugins": [ "arkivo-sufia" ],
    "sufia": {
      "base": "http://scholarsphere-qa.dlt.psu.edu"
    },
    "redis": {
      "port": 6379,
      "host": "ssrepo1qa",
      "options": {
      }
    }
  }
}

run arkivo on jobs

DEBUG=arkivo:*,zotero* $(npm bin)/arkivo up

Config files for scholarsphere

rm config/initializers/arkivo_constraint.rb
ln -s /opt/heracles/deploy/scholarsphere/shared/config/initializers/arkivo_constraint.rb config/initializers/arkivo_constraint.rb 
rm config/zotero.yml
ln -s /opt/heracles/deploy/scholarsphere/shared/config/zotero.yml config/zotero.yml
rm config/arkivo.yml
ln -s /opt/heracles/deploy/scholarsphere/shared/config/arkivo.yml config/arkivo.yml
Clone this wiki locally