Skip to content

htrc/htrc-torchlite-efapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI codecov GitHub release (latest SemVer including pre-releases)

HTRC-Torchlite-EFAPI

An API for accessing aggregated EF data for Torchlite

Build

sbt clean stage Then find the result in target/universal/stage/

Deploy

Copy the folder target/universal/stage/ to the deployment location and rename as desired (henceforth referred to as DEPLOY_DIR).

Setup

  1. Generate an application secret by running sbt playGenerateSecret
  2. Set TORCHLITE_EFAPI_MONGODB_URI environment variable to point to the Mongo instance holding the EF data
  3. Set TORCHLITE_EFAPI_SECRET environment variable to the value generated by step 0

(alternatively, these settings can also be configured by editing target/universal/stage/conf/application.conf)

Run

Note: You must have the environment variables set before running (or edited the application.conf accordingly)

$DEPLOY_DIR/bin/htrc-torchlite-efapi -Dhttp.address=HOST -Dhttp.port=PORT -Dplay.http.context=/api

where HOST is the desired hostname or IP to bind to, and PORT is the desired port to run on.

API

TBD

About

API access to aggregated EF data for Torchlite

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages