Skip to content

Initialize Django 5.x project with recommended stack #1

Description

@robert197

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

  • python manage.py runserver works out of the box
  • All dependencies installable via pip install -r requirements/local.txt
  • Settings split into base/local/production
  • .env.example provided with all required env vars

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions