-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace the domain? #312
Comments
@swissdaytrader you should use
then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I follow this instruction https://github.com/rubykube/workbench/wiki/DigitalOcean-Installation
And i can not find the place to add my domain ;)
i need to add my domain to all this 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"
?
Replace domain
Set $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
Thanks for your help
The text was updated successfully, but these errors were encountered: