./dev.sh build
DOCKER/reset_tendermint.sh
Before first time run the dev environment, you must init the Tendermint blockchain first (see Init/Reset Tendermint blockchain data)
First of all, if your source go files locate at src/
and main file is called main.go
, then you can simply run:
./dev.sh up
Or else you need to change them in .env
file first:
SOURCE=../src
MAIN_GO=main.go
The dev.sh
is just a shortcut for docker-compose
:
docker-compose -f DOCKER/docker-compose.yml
So you can call all docker-compose
command as you wish.