Resolve peer-test-app compose file and remove setup-repositories for web-apps

This commit is contained in:
nabarun 2023-04-19 13:26:36 +05:30
parent 1a3e098091
commit 91971e97a5
5 changed files with 3 additions and 34 deletions

View File

@ -15,9 +15,8 @@ services:
- -c
- ./wait-for-it.sh -h ${CERC_WATCHER_HOST:-$${DEFAULT_CERC_WATCHER_HOST}} -p ${CERC_WATCHER_PORT:-$${DEFAULT_CERC_WATCHER_PORT}} -s -t 0 -- ./test-app-start.sh
volumes:
- ../config/wait-for-it.sh:/app/packages/test-app/wait-for-it.sh
- ../config/watcher-mobymask-v2/test-app-config.json:/app/packages/test-app/src/test-app-config.json
- ../config/watcher-mobymask-v2/test-app-start.sh:/app/packages/test-app/test-app-start.sh
- ../config/wait-for-it.sh:/scripts/wait-for-it.sh
- ../config/watcher-mobymask-v2/test-app-start.sh:/scripts/test-app-start.sh
- peers_ids:/peers
ports:
- "0.0.0.0:3003:80"

View File

@ -25,14 +25,6 @@ Checkout to the required versions and branches in repos
cd ~/cerc/watcher-ts
git checkout v0.2.39
# react-peer
cd ~/cerc/react-peer
git checkout v0.2.32
# mobymask-ui
cd ~/cerc/mobymask-ui
git checkout v0.1.2
# MobyMask
cd ~/cerc/MobyMask
git checkout v0.1.2

View File

@ -66,7 +66,7 @@
* Get the deployed contract address:
```bash
docker exec -it $(docker ps -aq --filter name="mobymask-app") cat src/config.json
docker exec -it $(docker ps -aq --filter name="mobymask-app") cat /config/config.yml
```
The value of `address` field is the deployed contract address

View File

@ -7,8 +7,6 @@ repos:
- ethereum-optimism/op-geth
- cerc-io/watcher-ts
- cerc-io/mobymask-v2-watcher-ts
- cerc-io/react-peer
- cerc-io/mobymask-ui
- cerc-io/MobyMask
containers:
- cerc/go-ethereum

View File

@ -6,26 +6,6 @@ Instructions to setup and deploy MobyMask and Peer Test web apps
Prerequisite: Watcher with GQL and relay node endpoints
Clone required repositories:
```bash
laconic-so --stack mobymask-v2 setup-repositories --include cerc-io/react-peer,cerc-io/mobymask-ui
# If this throws an error as a result of being already checked out to a branch/tag in a repo, remove the repositories mentioned below and re-run the command
```
Checkout to the required versions and branches in repos:
```bash
# react-peer
cd ~/cerc/react-peer
git checkout v0.2.32
# mobymask-ui
cd ~/cerc/mobymask-ui
git checkout v0.1.2
```
Build the container images:
```bash