feat: add Makefile for Docker and Django ops #23
Reference in New Issue
Block a user
Delete Branch "feat/makefile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a
Makefilecovering all standard Docker Compose and Django management operations, plus the three custom project commands.What's included
Docker
build,up,run,down,restartlogs,logs-web,psbash(shell into web container),psql(psql into db container)Django
migrate,makemigrations(acceptsapp=var),showmigrationscreatesuperuser,collectstaticshell,dbshellTailwind
tailwind-install,tailwind-build,tailwind-watchTesting
test(pytest, acceptsargs=),test-e2eCustom management commands
seed→seed_e2e_contentcheck-content→check_content_integritypurge-comments→purge_old_comment_data(acceptsmonths=N)