Skip to content

Commit

Permalink
add site_config.rb.sample for denbi deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
RaimiSol committed May 19, 2023
1 parent 2531b66 commit d1a1603
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ bin/**
config/environments/*
!config/environments/development.rb.sample
!config/environments/config.rb.sample
!config/environments/biodiv-denbi-config.rb.sample

#ignore capistrano deployment
config/deploy/*
Expand Down
51 changes: 51 additions & 0 deletions config/environments/biodiv-denbi-config.rb.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# coding: utf-8

$CLOUD_PROVIDER = ''

# ----------------------------------------------------------------------
# OntoPortal Customization


$HOSTNAME = $UI_HOSTNAME = "biodivportal.gfbio.dev"
$REST_HOSTNAME = "data.#{$HOSTNAME}"
$REST_PORT = nil
$REST_URL_PREFIX = "https://#{[$REST_HOSTNAME, $REST_PORT].compact.join(':')}/"

# Organization info
#$ORG = 'NCBO'
#$ORG_URL = 'http://ontoportal.org'

# Site name (required)
$SITE = 'BiodivPortal'

# Unique string representing the UI's id for use with the BioPortal Core
# This api key is automatically generated on first boot and updated here
$API_KEY = ""

# REST core service address
#$REST_URL = "http://#{$REST_HOSTNAME}:#{$REST_PORT}"

# Help page, launched from Support -> Help menu item in top navigation bar.
#$WIKI_HELP_PAGE = 'https://www.bioontology.org/wiki/index.php/BioPortal_Help'

# Google Analytics ID (optional)
#$ANALYTICS_ID = ''

# 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]'

# reCAPTCHA
# In order to use reCAPTCHA on the user account creation page:
# 1. Obtain a key from reCAPTCHA: http://recaptcha.net
# 2. Include the corresponding keys below (between the single quotes)
# 3. Set the USE_RECAPTCHA option to 'true'
#ENV['USE_RECAPTCHA'] = 'false'
#ENV['RECAPTCHA_PUBLIC_KEY'] = ''
#ENV['RECAPTCHA_PRIVATE_KEY'] = ''

0 comments on commit d1a1603

Please sign in to comment.