fix dictations_viewer 404 by using url_for for API path; add pymongo dep; bind to localhost
This commit is contained in:
parent
dea4a1aec6
commit
f09f80c9a8
4 changed files with 446 additions and 2 deletions
7
justfile
7
justfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue