Move directory switch step

This commit is contained in:
Prathamesh Musale 2024-09-17 19:03:15 +05:30
parent a04da54129
commit 0b4b9197fe

View File

@ -176,7 +176,7 @@ Nitro nodes can be run using Ansible either locally or on a remote machine; foll
Create a ledger channel with the bridge on L1 which is mirrored on L2
* Run the following commands deployment machine
* Run the following commands on deployment machine
* Set required variables:
@ -277,7 +277,15 @@ Create a ledger channel with the bridge on L1 which is mirrored on L2
Perform payments using a virtual payment channel created with another Nitro node over the mirrored L2 channel with bridge as an intermediary
* Run the following commands deployment machine
* Run the following commands on deployment machine
* Switch to the `nitro-node` directory:
```bash
DEPLOYMENTS_DIR=<path-to-deployments-dir>
cd $DEPLOYMENTS_DIR/nitro-node
```
* Check status of the mirrored channel on L2:
@ -304,10 +312,6 @@ Perform payments using a virtual payment channel created with another Nitro node
* Set required variables:
```bash
DEPLOYMENTS_DIR=<path-to-deployments-dir>
cd $DEPLOYMENTS_DIR/nitro-node
export BRIDGE_NITRO_ADDRESS=$(yq eval '.bridge_nitro_address' nitro-node-config.yml)
# Counterparty to create the payment channel with