Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Aug 12, 2024
1 parent ba3e293 commit 6c58006
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion subnet/deployment-generator/src/gen_other.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,15 @@ function genCommands() {
commands += " docker run --env-file contract_deploy.env --network generated_docker_net xinfinorg/xdc-zero:v0.1.0 subswap\n"
commands += " - copy SUBNET_APP and PARENTNET_APP to contract_deploy.env\n"
commands += " docker run --env-file contract_deploy.env --network generated_docker_net xinfinorg/xdc-zero:v0.1.0 applicationregister\n"
commands += "\n3. Add XDC-Zero Configuration to common.env\n"
commands += "\n4. Add XDC-Zero Configuration to common.env\n"
commands += " - copy step 3. output SUBNET_ZERO_CONTRACT and PARENTNET_ZERO_CONTRACT to common.env\n"
commands += " - Add SUBNET_WALLET_PK and SUBNET_ZERO_WALLET_PK to common.env, they should be different from each other\n"
commands += "\n5. Restart Relayer\n"
commands += ` docker compose --env-file docker-compose.env --profile services down\n`;
commands += ` docker compose --env-file docker-compose.env --profile services up -d\n`;
commands += "\n6. Confirm Relayer is running \n"
commands += ` Relayer: http://${config.public_ip}:4000\n`
commands += ` Frontend: http://${config.public_ip}:6000\n`
} else {
console.log("Error: Invalid Relayer Mode")
exit()
Expand Down

0 comments on commit 6c58006

Please sign in to comment.