feat: add Makefile for Docker and Django ops #23

Merged
mark merged 1 commits from feat/makefile into main 2026-03-01 14:26:52 +00:00
Owner

Adds a Makefile covering all standard Docker Compose and Django management operations, plus the three custom project commands.

What's included

Docker

  • build, up, run, down, restart
  • logs, logs-web, ps
  • bash (shell into web container), psql (psql into db container)

Django

  • migrate, makemigrations (accepts app= var), showmigrations
  • createsuperuser, collectstatic
  • shell, dbshell

Tailwind

  • tailwind-install, tailwind-build, tailwind-watch

Testing

  • test (pytest, accepts args=), test-e2e

Custom management commands

  • seedseed_e2e_content
  • check-contentcheck_content_integrity
  • purge-commentspurge_old_comment_data (accepts months=N)
Adds a `Makefile` covering all standard Docker Compose and Django management operations, plus the three custom project commands. ## What's included **Docker** - `build`, `up`, `run`, `down`, `restart` - `logs`, `logs-web`, `ps` - `bash` (shell into web container), `psql` (psql into db container) **Django** - `migrate`, `makemigrations` (accepts `app=` var), `showmigrations` - `createsuperuser`, `collectstatic` - `shell`, `dbshell` **Tailwind** - `tailwind-install`, `tailwind-build`, `tailwind-watch` **Testing** - `test` (pytest, accepts `args=`), `test-e2e` **Custom management commands** - `seed` → `seed_e2e_content` - `check-content` → `check_content_integrity` - `purge-comments` → `purge_old_comment_data` (accepts `months=N`)
codex_a added 1 commit 2026-03-01 14:24:35 +00:00
feat: add Makefile for Docker and Django ops
All checks were successful
CI / nightly-e2e (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m13s
CI / ci (pull_request) Successful in 1m25s
abbc3c3d1d
Covers:
- Docker: build, up, run, down, restart, logs, ps, bash, psql
- Django: migrate, makemigrations, showmigrations, createsuperuser,
  collectstatic, shell, dbshell
- Tailwind: install, build, watch
- Testing: pytest unit and E2E targets
- Custom commands: seed, check-content, purge-comments

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
mark merged commit f5c2f87820 into main 2026-03-01 14:26:52 +00:00
mark deleted branch feat/makefile 2026-03-01 14:26:52 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nohype/main-site#23