Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 884 Bytes

RENDER.md

File metadata and controls

28 lines (20 loc) · 884 Bytes

Render Deployment

To set up a new pair of render instances for a state, follow the below steps!

Create a new GitHub branch:

  1. Create new branch: render-[state]
  2. Open render.yaml for editing
  3. Replace arpa-reporter-web with arpa-reporter-[state]
  4. Replace arpa-reporter-db with arpa-reporter-[state]-db (in the TWO places it appears)
  5. Save changes

Create new Blueprint instance:

  1. Log into Render.com and load the USDR dashboard
  2. Click on the Blueprints tab
  3. Select New Blueprint Instance
  4. Set Service Group Name to: [state] USDR ARPA Reporter
  5. Select your new branch to load render.yaml from
  6. Set the appropriate environment variables (for now, copy from an existing instance)

Once instances are set up:

  1. Open the new web service
  2. Click on the "shell" tab
  3. Run yarn db:init

You're done! Open up the new site and log in.