forked from cerc-io/stack-orchestrator
46 lines
746 B
Markdown
46 lines
746 B
Markdown
|
# SushiSwap
|
||
|
|
||
|
## Setup
|
||
|
|
||
|
Clone required repositories:
|
||
|
|
||
|
```bash
|
||
|
laconic-so --stack sushiswap setup-repositories --git-ssh
|
||
|
```
|
||
|
|
||
|
Build the container images:
|
||
|
|
||
|
```bash
|
||
|
laconic-so --stack sushiswap build-containers
|
||
|
```
|
||
|
|
||
|
## Deploy
|
||
|
|
||
|
Deploy the stack:
|
||
|
|
||
|
```bash
|
||
|
laconic-so --stack sushiswap deploy --cluster sushiswap up
|
||
|
```
|
||
|
|
||
|
## Tests
|
||
|
|
||
|
Follow [smoke-tests.md](./smoke-tests.md) to run smoke tests
|
||
|
|
||
|
## Clean up
|
||
|
|
||
|
Stop all the services running in background run:
|
||
|
|
||
|
```bash
|
||
|
laconic-so --stack sushiswap deploy --cluster sushiswap down
|
||
|
```
|
||
|
|
||
|
Clear volumes created by this stack:
|
||
|
|
||
|
```bash
|
||
|
# List all relevant volumes
|
||
|
docker volume ls -q --filter "name=sushiswap"
|
||
|
|
||
|
# Remove all the listed volumes
|
||
|
docker volume rm $(docker volume ls -q --filter "name=sushiswap")
|
||
|
```
|