diff --git a/bin/basicswap_run.py b/bin/basicswap_run.py index 5aa90b8..c4a0530 100644 --- a/bin/basicswap_run.py +++ b/bin/basicswap_run.py @@ -165,7 +165,7 @@ def main(): if not os.path.exists(data_dir): os.makedirs(data_dir) - with open(os.path.join(data_dir, 'basicswap.log'), 'w') as fp: + with open(os.path.join(data_dir, 'basicswap.log'), 'a') as fp: print(os.path.basename(sys.argv[0]) + ', version: ' + __version__ + '\n\n') runClient(fp, data_dir, chain) diff --git a/doc/run.docker.example.txt b/doc/run.docker.example.txt new file mode 100644 index 0000000..62682b6 --- /dev/null +++ b/doc/run.docker.example.txt @@ -0,0 +1,34 @@ +Running on windows 10 + +Install the latest docker toolbox from: +https://github.com/docker/toolbox/releases + +Start docker through the desktop icon, it should open a terminal + +Download basicswap +https://github.com/tecnovert/basicswap/archive/master.zip + +Extract it. + +Navigate to the docker folder. + + +If you have an existing litecoin chain, copy the contents of your datadir excluding litecoin.conf and any wallets to coindata/litecoin +If your litecoin chain is pruned create a new wallet in the existing datadir to avoid having to resync the chain. + + +Run the script: dockerbuild.bat + +It should open a new terminal window and start building the container. + +Once that completes run: dockerup.bat + +In the terminal that opened for docker toolbox, find the line: +docker is configured to use the default machine with IP 192.168.99.100 + +And open the ip address it displays at port 12700 in a browser: +192.168.99.100:12700 + +Should show some html. + +Now go to the view wallets page, and wait for all chains to completely sync. diff --git a/docker/coindata/basicswap/basicswap.json b/docker/coindata/basicswap/basicswap.json index f32d104..f6f73c0 100644 --- a/docker/coindata/basicswap/basicswap.json +++ b/docker/coindata/basicswap/basicswap.json @@ -1,7 +1,7 @@ { "zmqhost": "tcp://127.0.0.1", "zmqport": 20792, - "htmlhost": "localhost", + "htmlhost": "0.0.0.0", "htmlport": 12700, "network_key": "7sW2UEcHXvuqEjkpE5mD584zRaQYs6WXYohue4jLFZPTvMSxwvgs", "network_pubkey": "035758c4a22d7dd59165db02a56156e790224361eb3191f02197addcb3bde903d2",