stack-orchestrator/app/data/stacks/sushiswap
prathamesh0 4c72acea96
Add a SushiSwap stack (#482)
* Add a sushiswap stack with contract deployments

* Add watcher services

* Add a service for the info app

* Add instructions to run smoke tests

* Use sushi-info-watcher in demo mode

* Turn off block prefetching

* Fix sushiswap demo instructions

* Use release version and add healthcheck in Lotus stack

* Wait for Lotus node to start before sushiswap watchers

---------

Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
2023-08-10 13:57:07 +05:30
..
README.md Add a SushiSwap stack (#482) 2023-08-10 13:57:07 +05:30
smoke-tests.md Add a SushiSwap stack (#482) 2023-08-10 13:57:07 +05:30
stack.yml Add a SushiSwap stack (#482) 2023-08-10 13:57:07 +05:30

SushiSwap

Setup

Clone required repositories:

laconic-so --stack sushiswap setup-repositories --git-ssh

Build the container images:

laconic-so --stack sushiswap build-containers

Deploy

Deploy the stack:

laconic-so --stack sushiswap deploy --cluster sushiswap up

Tests

Follow smoke-tests.md to run smoke tests

Clean up

Stop all the services running in background run:

laconic-so --stack sushiswap deploy --cluster sushiswap down

Clear volumes created by this stack:

# 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")