Skip to content
Snippets Groups Projects
Commit df1cb33d authored by Dorian Lesbre's avatar Dorian Lesbre
Browse files

More targets

parent d4a783b6
No related branches found
No related tags found
No related merge requests found
......@@ -33,3 +33,19 @@ clean: ## Remove migrations and delete database
.PHONY: test
test: ## Tests all the apps
$(PYTHON) $(MANAGER) test
.PHONY: adduser
adduser: ## Create a new superuser
$(PYTHON) $(MANAGER) createsuperuser
.PHONY: shell
shell: ## Run django's shell
$(PYTHON) $(MANAGER) shell
.PHONY: static
static: ## collect static files
$(PYTHON) $(MANAGER) collectstatic
.PHONY: preprod
preprod: test static ## Prepare and check production
$(PYTHON) $(MANAGER) check --deploy
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment