Peatio workbench is an easy way to start Peatio development environment.
vagrant up
- Recursive clone : git clone --recursive https://github.com/rubykube/workbench.git
- Build the images:
make build - run the application:
make run - Add peatio and barong into your /etc/hosts
To have barong login working with peatio you will need to add this to your /etc/hosts:
0.0.0.0 peatio
0.0.0.0 barong
- Start barong:
docker-compose up -d barong - Create admin user for barong:
docker-compose run --rm barong bin/rake db:seedIt will output password for admin@barong.io - Sign in at barong:8001, then go to /admin and navigate to Applications
- Create new application with the following callback url
http://peatio:8000/auth/barong/callback
- In
docker-compose.yaml, set the newly created application credentials:
- BARONG_CLIENT_ID=xxxxx
- BARONG_CLIENT_SECRET=xxxxx- Start peatio server:
docker-compose up -d peatio
Simply start your local server. Now you're able to log in with your local Barong and Peatio.
TODO