Add notes in readmes

This commit is contained in:
nabarun 2023-03-24 15:38:42 +05:30
parent 67075f7f3c
commit d54abae449
3 changed files with 28 additions and 11 deletions

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -e
# Merging config files to get deployed contract address
jq -s '.[0] * .[1]' /app/src/mobymask-app-config.json /server/config.json > /app/src/config.json

View File

@ -10,21 +10,29 @@ Clone required repositories:
laconic-so --stack mobymask-v2 setup-repositories
```
Checkout to the required branches in repos
Checkout to the required versions and branches in repos
* mobymask-ui
```bash
cd ~/cerc/mobymask-ui
```bash
# watcher-ts
cd ~/cerc/watcher-ts
git checkout v0.2.31
git checkout laconic
```
# react-peer
cd ~/cerc/react-peer
git checkout v0.2.29
* MobyMask
```bash
cd ~/cerc/MobyMask
# mobymask-ui
cd ~/cerc/mobymask-ui
git checkout laconic
git checkout v0.1.1
```
# laconicd
cd ~/cerc/laconicd
git checkout v0.8.0
# MobyMask
cd ~/cerc/MobyMask
git checkout v0.1.1
```
Build the container images:
@ -84,6 +92,12 @@ Deploy the stack:
* Check that all containers are healthy using `docker ps`
NOTE: The `mobymask-ui` container might not start. If mobymask-app is not running at http://localhost:3002, run command again to start the container
```bash
laconic-so --stack mobymask-v2 deploy-system --include watcher-mobymask-v2 up
```
## Tests
Find the watcher container's id:

View File

@ -6,6 +6,8 @@
laconic-so --stack mobymask-v2 deploy-system --include watcher-mobymask-v2 logs mobymask
```
NOTE: Clear the browser cache (local storage) for http://127.0.0.1:3002 to remove old invitations
The invite link is seen at the end of the logs
Example:
```