From e41a6e34c0f4807fe96c66b340a471fbed7f66ea Mon Sep 17 00:00:00 2001 From: tecnovert Date: Tue, 5 Jan 2021 14:31:02 +0200 Subject: [PATCH] Update install notes for Windows. --- doc/install.md | 46 ++++++++++------------------------------------ 1 file changed, 10 insertions(+), 36 deletions(-) diff --git a/doc/install.md b/doc/install.md index b3f1135..15f9936 100644 --- a/doc/install.md +++ b/doc/install.md @@ -41,6 +41,8 @@ Start the container Open in browser: `http://localhost:12700` + + ### Add a coin $ docker-compose stop @@ -51,6 +53,14 @@ You can copy an existing pruned datadir (excluding bitcoin.conf and any wallets) Remove any existing wallets after copying over a pruned chain or the Bitcoin daemon won't start. +## Windows + +Setup Docker Desktop on the WSL 2 backend. +[docs.docker.com/docker-for-windows/wsl](https://docs.docker.com/docker-for-windows/wsl/) + +Launch the docker commands through a WSL terminal. + + ## Run Without Docker: @@ -114,39 +124,3 @@ Start after installed: $ export SWAP_DATADIR=/Users/$USER/coinswaps $ . $SWAP_DATADIR/venv/bin/activate && python -V $ basicswap-run --datadir=$SWAP_DATADIR - - - -Old notes -============= - -## Run Without Installing - - $ cd basicswap - $ pip install sqlalchemy protobuf pyzmq - $ protoc -I=basicswap --python_out=basicswap basicswap/messages.proto - $ export PYTHONPATH=$(pwd) - $ python bin/basicswap-prepare.py - $ python bin/basicswap-run.py - - -# Windows - -Install git and python3: - - https://gitforwindows.org/ - https://www.python.org/downloads/windows/ - Remember to select the 'Add Python to environment variables' option. - -Right click in the directory you want to install into and select 'Git Bash Here': - - $ git clone https://github.com/tecnovert/basicswap.git - $ cd basicswap - $ pip3 install . - $ basicswap-prepare - $ basicswap-run - -Open url in browser: -http://localhost:12700 - -Shutdown by pressing ctrl + c in the Git Bash console window.