Please note, that this project is deprecated and moved to https://github.com/openware/opendax
Workbench is an easy way to start Peatio development environment.
- Recursive clone
git clone --recursive https://github.com/rubykube/workbench.git
- Move to workbench
cd workbench
- Update submodules to latest versions
make update
- Build the images
make build
- Optional: Enable bitcoin
make bitcoin
This will create new seeds and start bitcoind
docker container.
- Run the application
make run
You should add those hosts to your /etc/hosts
file:
0.0.0.0 api.wb.local
0.0.0.0 auth.wb.local
0.0.0.0 ws.ranger.wb.local
0.0.0.0 pma.wb.local
0.0.0.0 monitor.wb.local
0.0.0.0 btc.wb.local
0.0.0.0 eth.wb.local
0.0.0.0 mail.wb.local
Now you have peatio up and running.
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:
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.
Run toolbox stress tests
$> make stress