You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
541 B

  1. #! /bin/bash
  2. cd $GOPATH/src/github.com/tendermint/tendermint
  3. TEST_PATH=./test/net/new
  4. N=4
  5. TESTNET_DIR=mytestnet
  6. # install deps
  7. # TODO: we should build a Docker image and
  8. # really do everything that follows in the container
  9. # bash setup.sh
  10. # launch infra
  11. terraform get
  12. terraform apply
  13. # create testnet files
  14. tendermint testnet -n $N -dir $TESTNET_DIR
  15. # expects a linux tendermint binary to be built already
  16. bash scripts/init.sh $N $TESTNET_DIR test/net/examples/in-proc
  17. # testnet should now be running :)
  18. bash scripts/start.sh 4