-
Notifications
You must be signed in to change notification settings - Fork 128
Set up with custom domain
Ali Shanaakh edited this page Oct 1, 2018
·
4 revisions
Recursive clone
$> git clone --recursive https://github.com/rubykube/workbench.git
Move to workbench
$> cd workbench
Update submodules to latest versions
$> make update
Expose ports
Expose following ports of workbench machine:
- 443
- 80
Replace domain
Put $new_domain
variable equal to your domain and run bash script:
#!/bin/bash
old_domain="wb.local"
new_domain="your.domain"
files=(
"compose/proxy.yaml"
"compose/backend.yaml"
"compose/app.yaml"
"config/trading-ui.env"
"compose/cryptonodes.yaml"
"config/integration/fixtures/barong.json"
"config/integration/fixtures/peatio.json"
"config/peatio.env"
"config/barong.env"
"config/barong/seeds.yml"
"config/toolbox.yaml"
)
for file in ${files[@]}; do
sed -i "s/${old_domain}/${new_domain}/g" ${file}
done
Build images
$> make build
Run the application
$> make run
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: