From 3149ba67fb29cc0a97f3b2af0d9f6845281408cf Mon Sep 17 00:00:00 2001 From: JAMES FUQIAN Date: Fri, 2 Dec 2022 14:05:35 -0800 Subject: [PATCH] final touches on readme files. --- README-bb2-dev.md | 4 ++++ README.md | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README-bb2-dev.md b/README-bb2-dev.md index d977e84..ccbf558 100644 --- a/README-bb2-dev.md +++ b/README-bb2-dev.md @@ -15,6 +15,10 @@ Change your `callbackUrl` configuration to use `server` instead of `localhost`. "callback_url": "http://server:3001/api/bluebutton/callback/" ``` +You can also start your configuration by the following the sample config template for selenium tests: + +cp server/sample-bluebutton-selenium-config.json server/.bluebutton-config.json + You will also need to add this URL to your `redirect_uris` list in your application's configuration on the BB2 Sandbox UI. Go to local repository base directory and run docker compose as below: diff --git a/README.md b/README.md index 400d9be..17f388e 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,7 @@ Download and install node. Go to https://nodejs.org/en/download/ and follow the Once you have Docker and Node installed and setup then do the following: - cp server/sample-bluebutton-config.json -> server/.bluebutton-config.json - -or (if running a docker compose selenium tests) - - cp server/sample-bluebutton-selenium-config.json -> server/.bluebutton-config.json + cp server/sample-bluebutton-config.json server/.bluebutton-config.json Make sure to replace the clientId and clientSecret variables within the config file with the ones you were provided, for your application, when you created your Blue Button Sandbox account.