Fixes: 1) Correct entrypoint scripts by removing redundant `python` reference in `uv run` commands; 2) Resolve incorrect imports and adjust class renaming in vibes_auth tests; 3) Address typing errors and minor omissions in existing code. Extra: 1) Improve formatting in settings and middleware files; 2) Update messaging test class names for clarity; 3) Cleanup unused imports and extra whitespaces, ensuring cleaner codebase.
11 lines
458 B
Bash
11 lines
458 B
Bash
#!/usr/bin/bash
|
|
set -e
|
|
|
|
uv run manage.py await_services
|
|
|
|
if [ "${DEBUG:-0}" = "1" ]; then
|
|
uv run uvicorn --host 0.0.0.0 --port 8000 --reload --log-level debug --ws-ping-interval 20 --ws-ping-timeout 20 evibes.asgi:application
|
|
else
|
|
UVICORN_WORKERS=${UVICORN_WORKERS:-4}
|
|
uv run uvicorn --host 0.0.0.0 --port 8000 --workers "$UVICORN_WORKERS" --proxy-headers --forwarded-allow-ips='*' --ws-ping-interval 20 --ws-ping-timeout 20 evibes.asgi:application
|
|
fi
|