Skip to content

Commit 99e76bd

Browse files
author
JAMES FUQIAN
committed
Merge branch 'jfuqian/BB2-1702-Python-Sample-App-code-cleanup' of https://github.com/CMSgov/bluebutton-sample-client-python-react into jfuqian/BB2-1702-Python-Sample-App-code-cleanup
2 parents a3e6fdc + be6708d commit 99e76bd

2 files changed

Lines changed: 30 additions & 18 deletions

File tree

README-bb2-dev.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Blue Button 2.0 Sample Application Development Documentation
2+
3+
## Introduction
4+
5+
This README contains information related to developing the SDK.
6+
7+
It is intended for BB2 team members or others performing sample application development work.
8+
9+
## Run selenium tests in docker
10+
11+
Configure the remote target BB2 instance where the tested app is registered (as described above "Running the Back-end & Front-end")
12+
13+
Change your `callback_url` configuration to use `server` instead of `localhost`. For example:
14+
```JSON
15+
"callback_url": "http://server:3001/api/bluebutton/callback/"
16+
```
17+
18+
You will also need to add this URL to your `redirect_uris` list in your application's configuration on the BB2 Sandbox UI.
19+
20+
Go to local repository base directory and run docker compose as below:
21+
22+
docker-compose -f docker-compose.selenium.yml up --abort-on-container-exit
23+
24+
Note: --abort-on-container-exit will abort client and server containers when selenium tests ends
25+
26+
Note: You may need to clean up already existing Docker containers, if you are having issues or have changed your configuration file.
27+
28+
## Visual trouble shoot
29+
30+
Install VNC viewer and point browser to http://localhost:5900 to monitor web UI interactions

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -70,24 +70,6 @@ Debugging server component
7070
--------------------------
7171
debugpy remote debugging enabled on port 5678 for server in docker compose, developer can attach to server from IDE e.g. vscode.
7272

73-
## Run selenium tests in docker
74-
75-
Configure the remote target BB2 instance where the tested app is registered (as described above "Running the Back-end & Front-end")
76-
77-
Also use below call back URL in configuration, and add it as redirect URI at Blue Button API app registry:
78-
79-
http://server:3001/api/bluebutton/callback/
80-
81-
Go to local repository base directory and run docker compose as below:
82-
83-
docker-compose -f docker-compose.selenium.yml up --abort-on-container-exit
84-
85-
Note: --abort-on-container-exit will abort client and server containers when selenium tests ends
86-
87-
## Visual trouble shoot
88-
89-
Install VNC viewer and point browser to http://localhost:5900 to monitor web UI interactions
90-
9173
Error Responses and handling:
9274
-----------------------------
9375
[See ErrorResponses.md](./ErrorResponses.md)

0 commit comments

Comments
 (0)