Skip to content

Commit

Permalink
Add full-reset and full-clear make commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkins committed May 12, 2024
1 parent 788686c commit 3342b9c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions {{cookiecutter.project_slug}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,16 @@ nuke: ## Full wipe of the local environment, uncommitted files, and database.
nuke: venv-check venv-wipe git-full-clean database-drop

reset: ## Reset your local environment. Useful after switching branches, etc.
reset: venv-check venv-wipe install-local fab-get-data django-migrate django-user-passwords django-dev-createsuperuser
reset: venv-check venv-wipe install-local fab-get-backup django-migrate django-user-passwords django-dev-createsuperuser

full-reset: ## Reset your local environment and download all media files.
full-reset: venv-check venv-wipe install-local fab-get-data django-migrate django-user-passwords django-dev-createsuperuser

clear: ## Like reset but without the wiping of the installs.
clear: fab-get-data django-migrate django-user-passwords django-dev-createsuperuser
clear: fab-get-backup django-migrate django-user-passwords django-dev-createsuperuser

full-clear: ## Fresh download of remotely stored data including media files.
full-clear: fab-get-data django-migrate django-user-passwords django-dev-createsuperuser

check: ## Check for any obvious errors in the project's setup.
check: pipdeptree-check npm-check django-check
Expand Down

0 comments on commit 3342b9c

Please sign in to comment.