Skip to content

Commit be6708d

Browse files
committed
Separate bb2 dev stuff from README.md
1 parent c55b92f commit be6708d

2 files changed

Lines changed: 30 additions & 14 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 & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,6 @@ Debugging server component
6666
--------------------------
6767
debugpy remote debugging enabled on port 5678 for server in docker compose, developer can attach to server from IDE e.g. vscode.
6868

69-
## Run selenium tests in docker
70-
71-
Configure the remote target BB2 instance where the tested app is registered (as described above "Running the Back-end & Front-end")
72-
73-
Go to local repository base directory and run docker compose as below:
74-
75-
docker-compose -f docker-compose.selenium.yml up --abort-on-container-exit
76-
77-
Note: --abort-on-container-exit will abort client and server containers when selenium tests ends
78-
79-
## Visual trouble shoot
80-
81-
Install VNC viewer and point browser to http://localhost:5900 to monitor web UI interactions
82-
8369
Error Responses and handling:
8470
-----------------------------
8571
[See ErrorResponses.md](./ErrorResponses.md)

0 commit comments

Comments
 (0)