fix dictations_viewer 404 by using url_for for API path; add pymongo dep; bind to localhost

This commit is contained in:
Connor Rhodes 2026-04-23 19:10:27 -05:00
parent dea4a1aec6
commit f09f80c9a8
4 changed files with 446 additions and 2 deletions

View file

@ -1,5 +1,8 @@
run:
uv run gunicorn --bind 0.0.0.0:8080 "server:application"
uv run gunicorn --bind 127.0.0.1:4419 "server:application"
dev:
FLASK_DEBUG=1 uv run python -c "import server; from werkzeug.serving import run_simple; run_simple('0.0.0.0', 8080, server.application, use_reloader=True, use_debugger=True)"
FLASK_DEBUG=1 uv run python -c "import server; from werkzeug.serving import run_simple; run_simple('127.0.0.1', 4419, server.application, use_reloader=True, use_debugger=True)"
stop:
sudo systemctl stop web-tools.service