...
Any Docker containers that are already installed are listed on the left-hand side. You can start a container that is already installed by selecting it, and clicking the start button that appears. There is also another button that will appear when you click in the left-hand side of the window for adding a new Docker image from the official Docker repository.
...
Code Block | ||||
---|---|---|---|---|
| ||||
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.git (in my case, it is something like this: git b. Compileclone 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 | ||||
---|---|---|---|---|
| ||||
mvn clean install |
cd. Change to the tools/target subdirectory
Code Block | ||||
---|---|---|---|---|
| ||||
cd tools/target |
de. Load data
Code Block | ||||
---|---|---|---|---|
| ||||
java -jar hspc-tools.jar org.hspconsortium.DataLoad -url http://localhost:8080/hspc-reference-api/data |
ef. Load dstu2/usecase/schedule
Code Block | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
java -jar hspc-tools.jar org.hspconsortium.DataLoad -url http://localhost:8080/hspc-reference-api/data -in datapack/dstu2/starter |
...