moonstream/backend/dev.sh

10 wiersze
300 B
Bash
Czysty Zwykły widok Historia

2021-07-19 10:31:18 +00:00
#!/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:-7481}"
uvicorn --port "$MOONSTREAM_PORT" --host "$MOONSTREAM_HOST" moonstream.api:app --workers 2 $@