Git Product home page Git Product logo

workbench's Introduction

Workbench

CircleCI

Workbench is an easy way to start Peatio development environment.

Prerequisites

Usage

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:

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.

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

Barong

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 [email protected]. Default password is Qwerty123

Peatio

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

Frontend

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

workbench's People

Contributors

alinetskyi avatar burakhoban avatar calj avatar gfedorenko avatar jaaphaitsma avatar kovetskiy avatar sergii-savchenko avatar shal avatar smaslovv avatar tombenj avatar vshatravenko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.