forked from cerc-io/stack-orchestrator
Nabarun Gogoi
6f781ae303
* Separate out watcher and web-apps in mobymask stack * Take L2 RPC endpoint from the env file * Changes to run watcher and mobymask web-app separately * Support running watcher without contract deployment and L2 txs * Remove duplicate mobymask params env * Add code comments * Add instructions for running web-apps separately * Self review fixes * Fix timeout for mobymask-app on watcher server --------- Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
15 lines
283 B
Bash
Executable File
15 lines
283 B
Bash
Executable File
#!/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
|