File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,21 @@ Note: --abort-on-container-exit will abort client and server containers when sel
2929
3030Note: You may need to clean up already existing Docker containers, if you are having issues or have changed your configuration file.
3131
32+ ## Use default data sets
33+
34+ Instead of using the BB2 API to retrieve data from a BB2 server every time you run the
35+ sample client, you can alternatively pre-populate json content to be loaded. To do so,
36+ replace the json files in ` server/default_datasets/Dataset 1 ` with your desired default
37+ data, and then in ` client/src/components/patientData.tsx ` , update the
38+ ` useDefaultDataButton ` const to ` true ` .
39+
40+ Then on the landing page of the sample client, in addition to the normal button
41+ ` Authorize ` which can be used to query a BB2 server, there will also be a
42+ ` Load default data ` button which can be used to load the data from the json files.
43+
44+ This is useful when developing front-end content since it shortens the amount of time
45+ it takes to load sample data.
46+
3247## Visual trouble shoot
3348
3449Install VNC viewer and point browser to http://localhost:5900 to monitor web UI interactions
You can’t perform that action at this time.
0 commit comments