Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.16 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.16 KB

das-multi-device

Multi device service, providing functions such as adding and removing backup devices through webauhtn

Prerequisites

  • Ubuntu 18.04 or newer
  • MYSQL >= 8.0
  • go version >= 1.17.0
  • CKB Node

Install & Run

Source Compile

# get the code
git clone [email protected]:dotbitHQ/das-multi-device.git

# edit config/config.yaml and run unipay_svr

# compile and run
cd das-multi-device
make device
./das_multi_device --config=config/config.yaml

Docker

  • docker >= 20.10
  • docker-compose >= 2.2.2
sudo curl -L "https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose up -d

if you already have a mysql installed, just run

docker run -dv $PWD/config/config.yaml:/app/config/config.yaml --name unipay_svr dotbitteam/unipay:latest