Skip to content

Commit

Permalink
fix: add make deploy command
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Mar 20, 2024
1 parent 65266a7 commit 115bb54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ lock-dev: pip-tools
migrate: check_rebuild
$(DC_RUN_CMD) python terraso_backend/manage.py migrate --no-input

deploy:
$(DC_RUN_CMD) python terraso_backend/manage.py migrate --no-input
$(DC_RUN_CMD) python terraso_backend/manage.py collectstatic --no-input

makemigrations: check_rebuild
$(DC_RUN_CMD) python terraso_backend/manage.py makemigrations

Expand Down

0 comments on commit 115bb54

Please sign in to comment.