...
- hsp-api.war
- hsp-auth.war
- hsp-reference-apps.war
- hsp-auth.war
- hsp-reference-apps.war
if
If you are running on a Mac, you
can probably skip the "sudo" in the following commands.If you are running on a Mac, you may need to start the docker Quickstart Terminal from the applications folder:
Code Block | ||||
---|---|---|---|---|
| ||||
Applications/Docker/Docker Quickstart Terminal.app |
if you are running on a Mac, you can probably skip the "sudo" in the following commands.
Code Block | ||||
---|---|---|---|---|
| ||||
sudo docker build -t="opencds/hspc:ubuntu" . |
Code Block | ||||
---|---|---|---|---|
| ||||
sudo docker run -d -p 8080:8080 -p 2222:22 --name hspc opencds/hspc:ubuntu |
Code Block | ||||
---|---|---|---|---|
| ||||
# The sandbox must be running cd hspc/hsp-tools/tools/target java -jar hsp-tools.jar org.hspconsortium.DataLoad -url http://localhost:8080/hsp-api/data |
Test the Installation
- Open a browser and go to: http://localhost:8080/hsp-reference-apps
- Log in with "demo/demo"
- Select a patient
- Select an application
Issue a Test Query Against Your Unsecured RESTful API Server
http://localhost:8080/hsp-api/data/Patient?_format=json - This should result in aJSON FHIR bundle containing all the default patients in the system.