Fix make serve to respect 0.0.0.0:6501 bind address
The --reload flag was ignoring the listen = 0.0.0.0:6501 setting in development.ini. Added explicit --bind=0.0.0.0:6501 to make serve target to ensure development server binds to all interfaces on port 6501. This allows external access to the dev server for testing.
This commit is contained in:
parent
3b27bb55ce
commit
1d75cfdcc6
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -138,8 +138,8 @@ init-db: venv config
|
|||
|
||||
# Start the development server with auto-reload.
|
||||
serve: venv config
|
||||
@echo "Starting the make_post_sell development server..."
|
||||
$(PSERVE) $(DATA_DIR)/$(CONFIG_FILE) --reload
|
||||
@echo "Starting the make_post_sell development server on 0.0.0.0:6501..."
|
||||
$(PSERVE) $(DATA_DIR)/$(CONFIG_FILE) --reload --bind=0.0.0.0:6501
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Combined Setup Targets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue