diff --git a/doc/install.md b/doc/install.md index 388a1b9..ab39728 100644 --- a/doc/install.md +++ b/doc/install.md @@ -24,15 +24,11 @@ Set xmrrestoreheight to the current xmr chain height. Adjust `--withcoins` and `--withoutcoins` as desired, eg: `--withcoins=monero,bitcoin`. By default only Particl is loaded. $ export COINDATA_PATH=/var/data/coinswaps - $ docker run -e XMR_RPC_HOST="node.xmr.to" -e BASE_XMR_RPC_PORT=18081 -t --name swap_prepare -v $COINDATA_PATH:/coindata i_swapclient \ + $ docker run --rm -e XMR_RPC_HOST="node.xmr.to" -e BASE_XMR_RPC_PORT=18081 -t --name swap_prepare -v $COINDATA_PATH:/coindata i_swapclient \ basicswap-prepare --datadir=/coindata --withcoins=monero --htmlhost="0.0.0.0" --xmrrestoreheight=2245107 Record the mnemonic from the output of the above command. -Remove swap_prepare container (and logs): - - $ docker rm swap_prepare - Start the container diff --git a/doc/upgrade.md b/doc/upgrade.md index 27a0719..8bc7aa6 100644 --- a/doc/upgrade.md +++ b/doc/upgrade.md @@ -24,11 +24,10 @@ If the dependencies and db format have changed the container must be built with After updating the code and rebuilding the container run: - basicswap/docker]$ docker run \ - -t --name swap_prepare -v $COINDATA_PATH:/coindata i_swapclient \ - basicswap-prepare --datadir=/coindata --preparebinonly --withcoins=monero + basicswap/docker]$ export COINDATA_PATH=[PATH_TO] + $ docker-compose run --rm swapclient \ + basicswap-prepare --datadir=/coindata --preparebinonly --withcoins=monero,bitcoin - docker rm swap_prepare Specify all required coins after `--withcoins=`, separated by commas. If updating from versions below 0.21, you may need to add `wallet=wallet.dat` to the core config files.