Skip to content

SHARPC2B/HeD-editor

Repository files navigation

HeD-editor

Please see LICENSE and Disclaimer.txt for additional information

A User's guide is available at https://github.com/SHARPC2B/HeD-editor/blob/master/design-docs/src/main/resources/docs/User%20Guide.pdf

A Developer's guide is available at https://github.com/SHARPC2B/HeD-editor/blob/master/design-docs/src/main/resources/docs/Developer%20Guide.pdf

A Templating Guide is available at https://github.com/SHARPC2B/HeD-editor/blob/master/design-docs/src/main/resources/docs/Templating%20Guide.pdf

A recorded Demo/Presentation is available at http://youtu.be/8l994wFD6yo

Requirements

Build & Deploy

  1. Make sure you have all the above dependencies.
  2. Checkout Source: $ git clone https://github.com/suesse/HeD-editor
  3. Go to base dir: $ cd Hed-editor
  4. Build: $ mvn clean install -DskipTests (takes about 15 minutes the first time)
  5. Build hed-services
    1. Go to hed-services dir: $ cd hed-services
    2. Run SBT: $ sbt
    3. Build war (from within the sbt console): $ war (takes about 15 minutes the first time)
  6. Setup Environment Vars
    1. HED_SERVICE_URL="http://localhost:8080/hed-services"
    2. CTS2_URL="http://lexevscts2.nci.nih.gov/lexevscts2"
    3. STANBOL_URL="http://localhost:8080/stanbol"
  7. Deploy to Tomcat
    1. Deploy HeD-editor/editor-ui/target/editor-ui.war
    2. Deploy HeD-editor/hed-services/target/hed-services-0.1-SNAPSHOT.war