Make targets for makemigrations and migrate
-.PHONY: all test flake8 docs up down reset-volume reset rebuild
+.PHONY: all test flake8 docs up down reset-volume reset rebuild migrate makemigrations
MAKEFLAGS = silent
@@ -26,6 +26,12 @@ up:
@docker-compose run web python manage.py loaddata fixtures/*.json
@open http://localhost:8000
+makemigrations:
+ @docker-compose run web python manage.py makemigrations
+
+migrate:
+ @docker-compose run web python manage.py migrate
+
down:
@docker-compose down
@docker-compose rm
