Skip to content
Byron Ruth edited this page Mar 30, 2016 · 1 revision

FAQ

Running a local data models service

Download the data-models-service binary for your platform: https://github.com/chop-dbhi/data-models-service/releases and unzip it. Run the service pointing it to the data model files:

data-models-service

By default, this will automatically clone and poll the data models repo. Alternately, you can manually clone or download the data model files: https://github.com/chop-dbhi/data-models Cloning is recommended so you can periodically fetch the latest changes to keep in sync. Use the -repo option to specify the directory:

data-models-service -repo /path/to/data-model/files

Run data-models-service -h to list more options. By default it runs on http://localhost:8123 (you can open it up in a browser to view the data models).

Now that the service is running, it can be used by the data-models-validator. The binary can downloaded here: https://github.com/chop-dbhi/data-models-validator/releases. Run the validator an include the -service option to point to the locally running service.

data-models-validator -service http://localhost:8123 -model pedsnet -version 2.1.0 person.csv
Clone this wiki locally