Skip to content

Unberath/oncokb

 
 

Repository files navigation

OncoKB Core

Repository for OncoKB, a precision oncology knowledge base.

The core of OncoKB Annotation service.

Status

Application CI Unit Tests Release Management Sentrey Release

Info

Running Environment

Please confirm your running environment is:

  • Java version: 8
  • MySQL version: 5.7.28

Prepare properties files

cp -r core/src/main/resources/properties-EXAMPLE core/src/main/resources/properties

Properties file

  1. database.properties
    • jdbc.driverClassName : We use mysql as database. Here, it will be com.mysql.jdbc.Driver
    • jdbc.url: Database url
    • jdbc.username & jdbc.password: MySQL user name and password
  2. config.properties
    • google.p_twelve : Your P12 private key path (You can generate this file from google developer console, more detials in Wiki)
    • google.service_account_email : Your service account email from google developer console.
    • cancerhotspots.single : Cancer hotspots service. Default: http://cancerhotspots.org/api/hotspots/single
    • oncotree.api: OncoTree service. Default: http://oncotree.info/api/
    • google.username & google.password(Optional) : Google account info. It is used to send email
    • data.version & data.version_date(Optional) : These two properties will be attached to API call.

Build the WAR file

mvn clean install -P public -DskipTests=true

The WAR file is under /web/target/

Deploy with frontend

Please choose one of the profile when building the war file

  • curate - core + API + curation website
  • public - core + API + public website (deprecated)

You could find specific instructions in curate or public repo,

Questions?

The best way is to send an email to contact@oncokb.org so all our team members can help.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%