8000 GitHub - lupeng95/workbench
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lupeng95/workbench

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peatio-workbench

Peatio workbench is an easy way to start Peatio development environment.

Prerequisites

Usage

Prepare 66D9 the workbench

  1. Clone peatio and barong
  2. Create links to workbench root (e.g. ln -s ../../path/to/peatio)
  3. Build the images: make build
  4. Start all services need for peatio: make prepare. Make sure mysql server is running before the next step (check docker logs workbench_db_1)
  5. Prepare the database and configs: make setup-apps
  6. 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

Run Barong and Peatio

Barong

  1. Start barong: docker-compose up -d barong
  2. Create admin user for barong: docker-compose run --rm barong bin/rake db:seed It will output password for admin@barong.io
  3. Sign in at barong:8001, then go to /admin and navigate to Applications
  4. Create new application with the following callback url http://peatio:8000/auth/barong/callback

Peatio

  1. In docker-compose.yaml, set the newly created application credentials:
- BARONG_CLIENT_ID=xxxxx
- BARONG_CLIENT_SECRET=xxxxx
  1. Start peatio server: 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

TODO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%
0