Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.75 KB

deployment_guide.md

File metadata and controls

42 lines (31 loc) · 1.75 KB

Deployment Guide

Requirements

Before you deploy, you must have the following in place:

Step 1: Front-end Deployment

In this step we will use the Amplify console to deploy and build the front-end application automatically.

One-click deployment

  1. Fork this repository.
  2. 1-click deployment button above. Make sure to start the deployment before continuing.
  3. Go to the Amplify Console.
  4. Select the smartonfhir app.
  5. Wait until Provision, Build, Deploy and Verify are all green.
  6. In the left-hand menu under App Settings, click on Environment Variables then Manage variables.
  7. Please add the following environment variables:
    Variable: REACT_APP_AWS_REGION           Value: ca-central-1
  8. Click Save.

Step 2: Add Permissions

In this step we will attach a policy to an Amplify created Cognito Role.

  1. In the AWS Console, go to the AWS IAM service page.
  2. In the left-hand menu, click on Roles.
  3. Click on the role named "amplify-smartonfhir-dev-{Some number}-authRole".

  1. Next, click the Attach policies button.
  2. In the search box, type "ComprehendMedical", then select the checkbox for "ComprehendMedicalFullAccess".
  3. Click Attach policy.