...
Code Block |
---|
language | bash |
---|
title | Mac Start Docker Quickstart Terminal |
---|
|
docker run --volumes-from hspc-webapps --volumes-from hspc-mysql-data -d -p 8080:8080 --name hspc opencds/hspc |
3. Populate patients:
a. Open a separate command prompt (NOT the Docker Quickstart Prompt), and change to a directory that is not internal to the hspc-webapps location you created above.
b. Using GIT, clone project bitbucket.org/hspconsortium/tools.gitb. Compile (in my case, it is something like this: git clone https://davidshields@bitbucket.org/hspconsortium/tools.git)
c. Compile the tools (and save this project so that you don't have to re-do it later, because it takes along time to create and load all the data into mysql):
Code Block |
---|
language | bash |
---|
title | Mac Start Docker Quickstart Terminal |
---|
|
mvn clean install |
cd. Change to the tools/target subdirectory
Code Block |
---|
language | bash |
---|
title | Mac Start Docker Quickstart Terminal |
---|
|
cd tools/target |
de. Load data
Code Block |
---|
language | bash |
---|
title | Mac Start Docker Quickstart Terminal |
---|
|
java -jar hspc-tools.jar org.hspconsortium.DataLoad -url http://localhost:8080/hspc-reference-api/data |
ef. Load dstu2/usecase/schedule
Code Block |
---|
language | bash |
---|
title | Mac Start Docker Quickstart Terminal |
---|
|
java -jar hspc-tools.jar org.hspconsortium.DataLoad -url http://localhost:8080/hspc-reference-api/data -in datapack/dstu2/usecase/schedule |
fg. Load dstu2/starter
Code Block |
---|
language | bash |
---|
title | Mac Start Docker Quickstart Terminal |
---|
|
java -jar hspc-tools.jar org.hspconsortium.DataLoad -url http://localhost:8080/hspc-reference-api/data -in datapack/dstu2/starter |
...