Skip to content

Commit 1a8383b

Browse files
add note
1 parent 800a52e commit 1a8383b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

infrastructure/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,15 @@ The Django backend deployment is managed by Zappa. This includes the API Gateway
129129

130130
5. **Deploy**:
131131

132-
- *Note*: Make sure to populate all `DJANGO_*` secrets that are set as `to-be-set-in-aws-console`
132+
- **Note**: Make sure to populate all `DJANGO_*` secrets that are set as `to-be-set-in-aws-console`
133133
in the Parameter Store. The deployment might fail with no logs if secrets such as
134134
`DJANGO_SLACK_BOT_TOKEN` are invalid.
135135

136136
```bash
137137
zappa deploy staging
138138
```
139+
- **Note**: If the deployment is successful and returns a 5xx error, resolve the issues
140+
and use `zappa undeploy staging` & `zappa deploy staging`. The command `zappa update staging` may not work.
139141

140142
Once deployed, use the URL provided by Zappa to test the API.
141143

0 commit comments

Comments
 (0)