2021-09-28 13:44:24 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
# Expects access to Python environment with the requirements for this project installed.
|
|
|
|
set -e
|
|
|
|
|
2021-11-03 11:18:49 +00:00
|
|
|
MOONSTREAM_CLUSTER_SERVER_HOST="${MOONSTREAM_CLUSTER_SERVER_HOST:-0.0.0.0}"
|
|
|
|
MOONSTREAM_CLUSTER_SERVER_PORT="${MOONSTREAM_CLUSTER_SERVER_PORT:-8080}"
|
2021-11-13 09:23:43 +00:00
|
|
|
MOONSTREAM_CLUSTER_BLOCKCHAIN="${MOONSTREAM_CLUSTER_BLOCKCHAIN:-ethereum}"
|
2021-09-28 13:44:24 +00:00
|
|
|
|
2021-11-13 09:23:43 +00:00
|
|
|
go run main.go -host "${MOONSTREAM_CLUSTER_SERVER_HOST}" -port "${MOONSTREAM_CLUSTER_SERVER_PORT}" -blockchain "${MOONSTREAM_CLUSTER_BLOCKCHAIN}"
|