forked from cerc-io/stack-orchestrator
15 lines
283 B
Bash
15 lines
283 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
||
|
set -x
|
||
|
fi
|
||
|
|
||
|
# Set relay nodes in config from RELAY_NODES environment variable
|
||
|
jq --argjson relayNodes "$RELAY_NODES" \
|
||
|
'.relayNodes = $relayNodes' \
|
||
|
./src/test-app-config.json > ./src/config.json
|
||
|
|
||
|
yarn build
|
||
|
|
||
|
serve -s build
|