forked from ontoportal/ontoportal_web_ui
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbioportal_config_env.rb.sample
120 lines (89 loc) · 3.82 KB
/
bioportal_config_env.rb.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# coding: utf-8
# Organization info
$ORG = "NCBO"
$ORG_URL = "http://www.bioontology.org"
# Site name (required)
$SITE = "BioPortal"
# The URL for the BioPortal Rails UI (this application)
$UI_URL = "http://bioportal.bioontology.org"
# Unique string representing the UI's id for use with the BioPortal API
$API_KEY = ""
# BioPortal API service address
$REST_URL = "http://example.org:8080/"
# Ontolobridge endpoint url
$ONTOLOBRIDGE_BASE_URL = "https://ontolobridge.ccs.miami.edu/api-test/requests"
# Ontolobridge authentication token
$ONTOLOBRIDGE_AUTHENTICATION_TOKEN = "Token Uq2pae73ktMtmgjUgtnhEOuHxr9sZeuK"
# Ontologies for which to enable the new term request (Ontolobridge) tab
$NEW_TERM_REQUEST_ONTOLOGIES = []
# Max number of children to return when rendering a tree view
$MAX_CHILDREN = 2500
# Max number of children that it's possible to display (more than this is either too slow or not helpful to users)
$MAX_POSSIBLE_DISPLAY = 10000
# Release version text (appears in footer of all pages, except 404 and 500 errors)
$RELEASE_VERSION = ""
# Enable Slices, filtering of ontologies based on subdomain and ontology groups
$ENABLE_SLICES = false
# Google Analytics ID (optional)
$ANALYTICS_ID = ""
# A user id for user 'anonymous' for use when a user is required for an action on the REST service but you don't want to require a user to login
$ANONYMOUS_USER = 0
# Cube metrics reporting
$ENABLE_CUBE = false
$CUBE_HOST = "localhost"
$CUBE_PORT = 1180
# Enable client request caching
$CLIENT_REQUEST_CACHING = true
# Enable debugging of API Ruby client
$DEBUG_RUBY_CLIENT = false
# When DEBUG_RUBY_CLIENT is true, this array can limit the cache keys for which to receive debug output. Empty array means output debugging info for ALL keys
$DEBUG_RUBY_CLIENT_KEYS = []
# If you don't use Airbrake you can have exceptions emailed to the $ERROR_EMAIL address by setting this to 'true'
$EMAIL_EXCEPTIONS = true
# Email settings
ActionMailer::Base.smtp_settings = {
:address => "", # smtp server address, ex: smtp.example.org
:port => 25, # smtp server port
:domain => "", # fqdn of rails server, ex: rails.example.org
}
# Announcements mailman mailing list REQUEST address, EX: [email protected]
# NOTE: You must use the REQUEST address for the mailing list. ONLY WORKS WITH MAILMAN LISTS.
$ANNOUNCE_LIST = "[email protected]"
# Email addresses used for sending notifications (errors, feedback, support)
$SUPPORT_EMAIL = "[email protected]"
$ADMIN_EMAIL = "[email protected]"
$ERROR_EMAIL = "[email protected]"
# Settings for date formatting
CalendarDateSelect.format = :american
# reCAPTCHA
# In order to use reCAPTCHA on the account creation and feedback submission pages:
# 1. Obtain a reCAPTCHA v2 key from: https://www.google.com/recaptcha/admin
# 2. Put the site and secret keys in the encrypted credentials file:
#
# recaptcha:
# site_key: your_site_key
# secret_key: your_secret_key
#
# 3. Set the USE_RECAPTCHA option to 'true'
ENV['USE_RECAPTCHA'] = 'false'
# Memcached servers
ENV['MEMCACHE_SERVERS'] = 'localhost'
# Custom BioPortal logging
require 'log'
# URL where BioMixer GWT app is located
$BIOMIXER_URL = 'http://biomixer.bioontology.org'
##
# Custom Ontology Details
# Custom details can be added on a per ontology basis using a key/value pair as columns of the details table
#
# Example:
# $ADDITIONAL_ONTOLOGY_DETAILS = { 1000 => { "Additional Detail" => "Text to be shown in the right-hand column." } }
##
$ADDITIONAL_ONTOLOGY_DETAILS = {}
#################################
## AUTO-GENERATED DO NOT MODIFY
#################################
# Full string for site, EX: "NCBO BioPortal"
$ORG_SITE = ($ORG.nil? || $ORG.empty?) ? $SITE : "#{$ORG} #{$SITE}"
# Email address to mail when exceptions are raised
ExceptionNotifier.exception_recipients = [$ERROR_EMAIL]