Skip to content

ENV and configuration

Hui Zhang edited this page Oct 16, 2018 · 3 revisions

These files in shared directory @ED2 server contains all the configurations required for ED2.

settings.yml

WOS:

  • AUTH_CODE: xxxx
  • regular_harvest_timeframe: nweek
  • source_url_prefix: xxxx
  • redirect_url_prefix: xxxx

local_env.yml

DB:

  • ED2_DB_PASSWORD:
  • ED2_DB_PORT:
  • ED2_DB_USERNAME:
  • ED2_DB_HOST:
  • ED2_DB:

Capistrano deployment log path:

  • ED2_DEPLOYED_REVISION_LOG

ScholarsArchive that ED2 will publish works to, REPOSITORY_AUTHENTICATION_TOKEN must be the same between ScholarsArchive and ED2:

  • REPOSITORY_URL: xxxx
  • REPOSITORY_SEARCH_URL: xxxx
  • REPOSITORY_ADMIN_SET_URL: xxxx
  • REPOSITORY_WORKFLOW_URL: xxxx
  • REPOSITORY_UPLOAD_URL: xxxx
  • REPOSITORY_AUTHENTICATION_TOKEN: xxxx
  • REPOSITORY_AUTHENTICATION_USERNAME: xxxx
  • REPOSITORY_PUBLISH_WORK_TYPE: xxxx
  • REPOSITORY_PUBLISH_ADMIN_SET_NAME: xxxx
  • REPOSITORY_PUBLISH_REQUIRES_WORKFLOW_APPROVAL: xxxx
  • REPOSITORY_PUBLISH_RIGHTS_STATEMENT: xxxx
  • REPOSITORY_PUBLISH_RESOURCE_TYPE: xxxx

Redis for background jobs and notifications:

  • ED2_REDIS_PORT: '6379'
  • ED2_REDIS_HOST: 127.0.0.1

ED2 Emails:

  • ED2_EMAIL_FROM: xxxx
  • ED2_APPLICATION_HOST_NAME: xxxx

Web Of Science Search Terms:

  • ED2_WOS_SEARCH_TERMS:
    • Oregon State University
    • Oregon State Univ

OSU API:

  • OSU_API_URL: xxxx
  • OSU_API_OAUTH2_TOKEN: xxxx
  • OSU_API_DIRECTORY_SEARCH: xxxx
  • OSU_API_CONSUMER_KEY: xxxx
  • OSU_API_CONSUMER_SECRET: xxxx

config.yml

deploy code:

  • staging:
    • user:
    • branch:
    • deploy_to:
    • host:
  • production:
    • user:
    • branch:
    • deploy_to:
    • host:

harvest.sh

Clone this wiki locally