stack-orchestrator/app/data/config/watcher-mobymask-v2/server-start.sh
prathamesh0 79ad4fb15a Upgrade dependencies and start inline watcher peer in mobymask-v2 stack (#256)
* Upgrade dependencies in mobymask-v2 stack

* Run inline watcher peer in mobymask v2 stack

---------

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
Former-commit-id: 71aaa41069
2023-03-30 09:44:15 +05:30

10 lines
278 B
Bash
Executable File

#!/bin/sh
# Assign deployed contract address from server config
CONTRACT_ADDRESS=`jq '.address' /server/config.json`
sed "s/REPLACE_WITH_CONTRACT_ADDRESS/${CONTRACT_ADDRESS}/" environments/watcher-config-template.toml > environments/local.toml
echo 'yarn server'
yarn server