6b62247ef7
* Add an option to pass env file to deploy command * Use env variable mapping in fixturenet-optimism stack * Use default values from checked in env files * Use env variable mapping in mobymask-v2 stack * Update instructions * Add extra hosts in app compose files and update instructions * Add CERC prefix to env variables in fixturenet-optimism stack * Add CERC prefix to env variables in mobymask-v2 stack
17 lines
362 B
Bash
Executable File
17 lines
362 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
|
set -x
|
|
fi
|
|
|
|
CERC_RELAY_NODES="${CERC_RELAY_NODES:-${DEFAULT_CERC_RELAY_NODES}}"
|
|
|
|
# Set relay nodes in config from CERC_RELAY_NODES environment variable
|
|
jq --argjson relayNodes "$CERC_RELAY_NODES" \
|
|
'.relayNodes = $relayNodes' \
|
|
./src/test-app-config.json > ./src/config.json
|
|
|
|
yarn build
|
|
|
|
serve -s build
|