Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • account id

  • user name

  • password

  • Access key ID

  • Secret access key

  • region name

  • login to aws command [should look something like aws ecr get-login-password | docker login --username AWS --password-stdin xxxxxx.xxxxx.xxxxx]

2. Prequisite things required to install

Code Block
brew install maven
brew install docker
brew install docker-machine
brew install docker-compose
brew install awscli
brew cask install adoptopenjdk/openjdk/adoptopenjdk8
brew cask install java11

3. configure aws profile - aws configure using the info from step 1. [Related article https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html]

4. login to aws - [obtain this from devops as per step 1]

5. create default virtual machine - docker-machine create default --driver virtualbox

6. set default docker machine - eval $(docker-machine env default)

7. clone down <https://github.com/Health-Education-England/REVALIDATION-COMBINE> git repo

8. navigate to the REVALIDATION-COMBINE repo via terminal and then run docker-compose up. This command could take a few mins to reun whilst the images are automatically pulled down and the be service/s get up and running

9. Depending on which service you need to access from the host machine first you would need to get the corresponding ip address. e.g docker-machine inspect default | grep "IPAddress"

10. Populate local db by invoking this POST api <http://<IPAddress>:9000/gmcclient/api/v1/admin> in postman with Basic Auth and with following info

Code Block
username: admin
password: admin

10. browse the service on the host machine [fill in acquired IPAddress]. e.g view the revalidation api <http://<IPAddress>:8080/revalidation/api/v1/doctors>