Skip to content

Commit

Permalink
Add clean up steps to instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh0 committed Aug 14, 2023
1 parent 55a72bb commit e4ab113
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/data/stacks/azimuth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ This should create the required docker images in the local image registry.

## Clean up

Stop all the services running in background run:
Stop all the services running in background:

```bash
laconic-so --stack azimuth deploy-system down
Expand Down
19 changes: 19 additions & 0 deletions app/data/stacks/fixturenet-lotus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ $ laconic-so --stack fixturenet-lotus build-containers
```
$ laconic-so --stack fixturenet-lotus deploy --cluster lotus up
```

Note: When running for the first time (or after clean up), the services will take some time to start properly as the Lotus nodes download the proof params (which are persisted to volumes)

Correct operation should be verified by checking the container logs with:
```
$ laconic-so --stack fixturenet-lotus deploy --cluster lotus logs lotus-miner
Expand All @@ -26,3 +29,19 @@ $ laconic-so --stack fixturenet-lotus deploy --cluster lotus exec lotus-miner "l
$ laconic-so --stack fixturenet-lotus deploy --cluster lotus exec lotus-node-1 "lotus status"
$ laconic-so --stack fixturenet-lotus deploy --cluster lotus exec lotus-node-2 "lotus status"
```

## 4. Clean up

Stop all the services running in background:
```
$ laconic-so --stack fixturenet-lotus deploy --cluster lotus down
```

Clear volumes created by this stack:
```
# List all relevant volumes
$ docker volume ls -q --filter "name=lotus"
# Remove all the listed volumes
$ docker volume rm $(docker volume ls -q --filter "name=lotus")
```
2 changes: 1 addition & 1 deletion app/data/stacks/mobymask-v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Follow the [demo](./demo.md) to try out the MobyMask app with L2 chain
## Clean up
Stop all the services running in background run:
Stop all the services running in background:
```bash
laconic-so --stack mobymask-v2 deploy --cluster mobymask_v2 down 30
Expand Down
4 changes: 3 additions & 1 deletion app/data/stacks/sushiswap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ Deploy the stack:
laconic-so --stack sushiswap deploy --cluster sushiswap up
```

Note: When running for the first time (or after clean up), the services will take some time to start as Lotus nodes in the fixturenet download the proof params

## Tests

Follow [smoke-tests.md](./smoke-tests.md) to run smoke tests

## Clean up

Stop all the services running in background run:
Stop all the services running in background:

```bash
laconic-so --stack sushiswap deploy --cluster sushiswap down
Expand Down

0 comments on commit e4ab113

Please sign in to comment.