diff --git a/crawlers/mooncrawl/dev.sh b/crawlers/mooncrawl/dev.sh new file mode 100755 index 00000000..7c0e3345 --- /dev/null +++ b/crawlers/mooncrawl/dev.sh @@ -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