diff --git a/Makefile b/Makefile index f9a71375e7bff70639288c3ed6b439c08f701e27..3d479c48639d8db24796df6926c06ce2d3b81748 100644 --- a/Makefile +++ b/Makefile @@ -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