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:
Russell Ballestrini 2025-09-28 17:01:44 -04:00
parent 3b27bb55ce
commit 1d75cfdcc6

View file

@ -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