Test and Integration environment for rubykube/peatio
Switch branches/tags
Nothing to show
Clone or download




Workbench is an easy way to start Peatio development environment.



Prepare the workbench

  1. Recursive clone
git clone --recursive https://github.com/rubykube/workbench.git
  1. Move to workbench
cd workbench
  1. Update submodules to latest versions
make update
  1. Build the images
make build
  1. Optional: Enable bitcoin
make bitcoin

This will create new seeds and start bitcoind docker container.

  1. Run the application
make run

You should add those hosts to your /etc/hosts file: api.wb.local auth.wb.local ws.ranger.wb.local pma.wb.local monitor.wb.local btc.wb.local eth.wb.local mail.wb.local

Now you have peatio up and running.

Post installation steps

After deployment, height of blockchains should be updated to start receiving deposits.

Go to Blockchains Tab in Peatio Admin Panel and update height

Best way to find current blockchains height:

  1. Ethereum Rinkeby Blockchain Explorer
  2. Bitcoin Testnet Blockchain Explorer


Start barong server

$> docker-compose run --rm barong bash -c "./bin/link_config && ./bin/setup"
$> docker-compose up -d barong

This will output password for admin@barong.io. Default password is Qwerty123


Start peatio server

$> docker-compose run --rm peatio bash -c "./bin/link_config && rake db:create db:migrate db:seed"
$> docker-compose up -d peatio


Simply start your local server. Now you're able to log in with your local Barong and Peatio.

Running Tests

Run toolbox stress tests

$> make stress