Skip to content

Instantly share code, notes, and snippets.

@palexander
Created July 3, 2010 01:06
Show Gist options
  • Select an option

  • Save palexander/462158 to your computer and use it in GitHub Desktop.

Select an option

Save palexander/462158 to your computer and use it in GitHub Desktop.

Revisions

  1. palexander revised this gist Sep 15, 2010. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions new_bioportal_config_options.rb
    Original file line number Diff line number Diff line change
    @@ -17,5 +17,8 @@
    # The PURL URL is generated using this prefix + the abbreviation for an ontology.
    $PURL_PREFIX = "http://purl.bioontology.org/ontology"

    # If your BioPortal installation includes OBS (Annotator, Resource Index), enable this option
    $OBS_ENABLED = true
    # If your BioPortal installation includes Annotator set this to false
    $ANNOTATOR_DISABLED = true

    # If your BioPortal installation includes Resource Index set this to false
    $RESOURCE_INDEX_DISABLED = true
  2. @invalid-email-address Anonymous created this gist Jul 3, 2010.
    21 changes: 21 additions & 0 deletions new_bioportal_config_options.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    # 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"

    # Full string for site, EX: "NCBO BioPortal" (auto-generated, don't modify)
    $ORG_SITE = ($ORG.nil? || $ORG.empty?) ? $SITE : "#{$ORG} #{$SITE}"

    # If you are running a PURL server to provide URLs for ontologies in your BioPortal instance, enable this option
    $PURL_ENABLED = true

    # The PURL URL is generated using this prefix + the abbreviation for an ontology.
    $PURL_PREFIX = "http://purl.bioontology.org/ontology"

    # If your BioPortal installation includes OBS (Annotator, Resource Index), enable this option
    $OBS_ENABLED = true