Skip to content

Commit a023b04

Browse files
committed
fix command
1 parent f586b5d commit a023b04

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

deployment-generator/src/config_gen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const config = {
3030
csc: process.env.VERSION_CSC || "feature-v0.3.0",
3131
// zero: process.env.VERSION_ZERO || "v0.3.0",
3232
zero: process.env.VERSION_ZERO || "feature-v0.3.0",
33-
subswap_frontend: process.env.VERSION_SUBSWAP_FRONTEND || "v0.1.0",
33+
subswap_frontend: process.env.VERSION_SUBSWAP_FRONTEND || "feature-dockerize",
3434
explorer: process.env.VERSION_EXPLORER || "v0.1.0",
3535
},
3636
parentnet: {

deployment-generator/src/gen_other.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ function genCommands() {
106106
commands += ` docker pull xinfinorg/xdc-zero:${config.version.zero}\n`;
107107
commands += ' docker run -v ${PWD}/:/app/cicd/mount/' + ` --network generated_docker_net xinfinorg/xdc-zero:${config.version.zero} zeroandsubswap\n`
108108
commands += "\n7. Run Subswap Frontend\n";
109-
commands += ` docker compose --profile subswap_frontend pull\n`;
110-
commands += ` docker compose --profile subswap_frontend up -d\n`;
109+
commands += ` docker compose --profile subswap pull\n`;
110+
commands += ` docker compose --profile subswap up -d\n`;
111+
commands += "\n8. Confirm Subswap UI\n"
111112
commands += ` Subswap-Frontend: http://${config.public_ip}:5216\n`;
112113
} else {
113114
commands += '\n6. Deploy XDC-Zero\n'
@@ -128,6 +129,7 @@ function genCommands() {
128129
commands += "\n8. Run Subswap Frontend\n";
129130
commands += ` docker compose --profile subswap_frontend pull\n`;
130131
commands += ` docker compose --profile subswap_frontend up -d\n`;
132+
commands += "\n9. Confirm Subswap UI\n"
131133
commands += ` Subswap-Frontend: http://${config.public_ip}:5216\n`;
132134
} else {
133135
commands += '\n7. Deploy XDC-Zero\n'

0 commit comments

Comments
 (0)