https://github.com/aludirk/tendermint-dev
Docker environment for Tendermint development.
https://github.com/aludirk/tendermint-dev
docker tendermint
Last synced: 9 months ago
JSON representation
Docker environment for Tendermint development.
- Host: GitHub
- URL: https://github.com/aludirk/tendermint-dev
- Owner: Aludirk
- License: mit
- Created: 2018-05-30T05:56:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-30T06:22:10.000Z (over 7 years ago)
- Last Synced: 2025-04-23T19:58:51.518Z (9 months ago)
- Topics: docker, tendermint
- Language: Shell
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Running local dev environment
### Build dev environment
```bash
./dev.sh build
```
### Init/Reset Tendermint blockchain data
```bash
DOCKER/reset_tendermint.sh
```
### Run dev environment
Before first time run the dev environment, you must init the Tendermint blockchain first (see [Init/Reset Tendermint blockchain data](#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:
```bash
./dev.sh up
```
Or else you need to change them in `.env` file first:
```
SOURCE=../src
MAIN_GO=main.go
```
### dev.sh
The `dev.sh` is just a shortcut for `docker-compose`:
```bash
docker-compose -f DOCKER/docker-compose.yml
```
So you can call all `docker-compose` command as you wish.