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

Added host target to makefile

parent d912846f
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,10 @@ migrate: ## Make and run migrations
serve: ## Run the django server
$(PYTHON) $(MANAGER) runserver
.PHONY: host
host: ## Host localy to access from same netword (make sure to add IP to ALLOWED_HOSTS)
$(PYTHON) $(MANAGER) runserver 0.0.0.0:8000
.PHONY: start
start: install migrate serve ## Install requirements, apply migrations, then start development server
......
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