dev.sh file for dev server api testing

pull/391/head
kompotkot 2021-11-13 15:54:37 +00:00
rodzic 11aa45690f
commit 08d7991056
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,9 @@
#!/usr/bin/env sh
# Expects access to Python environment with the requirements for this project installed.
set -e
MOONSTREAM_HOST="${MOONSTREAM_HOST:-0.0.0.0}"
MOONSTREAM_PORT="${MOONSTREAM_PORT:-7491}"
uvicorn --port "$MOONSTREAM_PORT" --host "$MOONSTREAM_HOST" mooncrawl.api:app --reload