To set up a new pair of render instances for a state, follow the below steps!
- Create new branch: render-[state]
- Open
render.yaml
for editing - Replace
arpa-reporter-web
witharpa-reporter-[state]
- Replace
arpa-reporter-db
witharpa-reporter-[state]-db
(in the TWO places it appears) - Save changes
- Log into Render.com and load the USDR dashboard
- Click on the Blueprints tab
- Select New Blueprint Instance
- Set Service Group Name to: [state] USDR ARPA Reporter
- Select your new branch to load render.yaml from
- Set the appropriate environment variables (for now, copy from an existing instance)
- Open the new web service
- Click on the "shell" tab
- Run
yarn db:init
You're done! Open up the new site and log in.