hackforla / hackforla/peopledepot

Update deployment workflow

Open
#675 0 comments 0 reactions 0 assignees View on GitHub
docker feature: infrastructure role: dev ops
Dominant language
Python
Stars
14
Forks
37
Avg merge
9d 15h
Merged PRs (30d)
5

Description

### Overview

Update the deployment workflow(s) to use the new AWS Docker configuration with gunicorn and Whitenoise instead of the development setup.

### Action Items
- Update `deploy-dev.yml` (or create a new workflow) to:
- Build using `Dockerfile-aws` (if not already using it)
- Use `requirements-aws.txt`
- Call `entrypoint-aws.sh` correctly
- Ensure environment variables are set for production/AWS
- Verify that the workflow builds and deploys successfully
- Test that the deployed app serves static files correctly with Whitenoise
- Update any documentation that references the deployment process

### Acceptance Criteria
- Deployment workflow builds the Docker image successfully
- Workflow uses the correct Dockerfile and requirements
- App deploys and starts with gunicorn
- Static files are served correctly in the deployed environment
- No breaking changes to the dev environment

**Parent Issue**: #219
**Blocked by**: #219 sub-issue "Add gunicorn and Whitenoise, and set up Dockerfile-aws and entrypoint-aws.sh" (or the multi-stage optimization if you wait for that)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.