Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagebash
titleMac 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.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
languagebash
titleMac Start Docker Quickstart Terminal
mvn clean install

 

cd. Change to the tools/target subdirectory

Code Block
languagebash
titleMac Start Docker Quickstart Terminal
cd tools/target

 

de. Load data

Code Block
languagebash
titleMac 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
languagebash
titleMac 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
languagebash
titleMac Start Docker Quickstart Terminal
java -jar hspc-tools.jar org.hspconsortium.DataLoad -url http://localhost:8080/hspc-reference-api/data -in datapack/dstu2/starter

...