Skip to content

Commit

Permalink
update path in setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
smk762 committed Jun 19, 2024
1 parent 0d3f8c8 commit 4f51378
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ Now we can build and launch DOC & MARTY chains with the following commands:
```
cd ~/dPoW/docker
./setup.sh # Setup misc configs
#
docker compose build # Build the docker images
docker compose up -d # Launch the chains in the background
docker compose logs -f -n 33 # Check the logs to confirm the chains are operational
Expand All @@ -123,7 +122,9 @@ doc-cli importprivkey YOUR_PRIVATE_KEY
marty-cli importprivkey YOUR_PRIVATE_KEY
```

To speed up the sync process, bootstraps for DOC and MARTY are kindly supplied by CHMEX via https://dexstats.info/bootstrap.php
To speed up the sync process, bootstraps for DOC and MARTY are kindly supplied by CHMEX via https://eu.bootstrap.dexstats.info/DOC-bootstrap.tar.gz and https://eu.bootstrap.dexstats.info/MARTY-bootstrap.tar.gz
To use the bootstrap, first stop DOC/MARTY with `doc-cli stop && marty-cli stop && docker compose stop` then download the bootstrap archive files and extract them into the `~/.komodo/DOC` and `~/.komodo/MARTY` directories.
Once extracted, you can start the chains again with `docker compose up -d` and monitor the logs with `docker compose logs -f -n 33` to check the sync progress.


### Step 4: Fund your nodes!
Expand Down
8 changes: 4 additions & 4 deletions docker/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ ln -sf ${script_path}/cli_wrappers/doc-cli /home/$USER/.local/bin/doc-cli
ln -sf ${script_path}/cli_wrappers/marty-cli /home/$USER/.local/bin/marty-cli

echo "Setting up launch_files..."
cp ${script_path}/launch_files/run_DOC.sh.template run_DOC.sh
cp ${script_path}/launch_files/run_MARTY.sh.template run_MARTY.sh
sed "s/USER_PUBKEY/${pubkey}/gi" -i run_DOC.sh
sed "s/USER_PUBKEY/${pubkey}/gi" -i run_MARTY.sh
cp ${script_path}/launch_files/run_DOC.sh.template ${script_path}/launch_files/run_DOC.sh
cp ${script_path}/launch_files/run_MARTY.sh.template ${script_path}/launch_files/run_MARTY.sh
sed "s/USER_PUBKEY/${pubkey}/gi" -i ${script_path}/launch_files/run_DOC.sh
sed "s/USER_PUBKEY/${pubkey}/gi" -i ${script_path}/launch_files/run_MARTY.sh

echo "Setting up conf files..."
mkdir -p /home/${USER}/.komodo/DOC
Expand Down

0 comments on commit 4f51378

Please sign in to comment.