Description
Set up the Django 5.x project skeleton with the full recommended stack from the PRD.
Requirements
- Django 5.x project with proper directory structure
- PostgreSQL 16 configuration (with SQLite fallback for local dev)
- HTMX + Alpine.js integration
- Tailwind CSS setup with Django (django-tailwind or manual)
- django-storages configured for S3/R2
- django-encrypted-model-fields for sensitive data
- Django-Q2 for background tasks
- Resend or Postmark SDK for transactional email
- WeasyPrint for PDF generation
- Pillow for image processing
Project Structure
baky/
├── baky/ # Django project settings
│ ├── settings/
│ │ ├── base.py
│ │ ├── local.py
│ │ └── production.py
│ ├── urls.py
│ └── wsgi.py
├── apps/
│ ├── accounts/ # Owner + Inspector auth
│ ├── apartments/ # Apartment management
│ ├── inspections/ # Inspections + checklists
│ ├── reports/ # Report generation
│ ├── public/ # Public website pages
│ └── dashboard/ # Owner dashboard
├── templates/
├── static/
├── media/
├── manage.py
├── requirements/
│ ├── base.txt
│ ├── local.txt
│ └── production.txt
└── pyproject.toml
Acceptance Criteria
Description
Set up the Django 5.x project skeleton with the full recommended stack from the PRD.
Requirements
Project Structure
Acceptance Criteria
python manage.py runserverworks out of the boxpip install -r requirements/local.txt.env.exampleprovided with all required env vars