From 2ede216d4de7a72fe7662604e6616b9c7f178830 Mon Sep 17 00:00:00 2001 From: mecampbellsoup Date: Mon, 18 Sep 2017 14:38:49 -0400 Subject: [PATCH] Fix code indentation virtualenv will handle making the directory if not exists Emphasize the importance of virtualenv when installing Keep the note short and to the point --- docs/INSTALL.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index a1ab0bf..c69986c 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -24,12 +24,12 @@ is actually newer in version number, than what was there already. To install everything (client and server), install these packages: -sudo apt-get install python-dev python-pip git build-essential -automake pkg-config libtool libffi-dev libssl-dev + sudo apt-get install python-dev python-pip git build-essential + automake pkg-config libtool libffi-dev libssl-dev -(+ libsodium-dev if you can find it, else build after) +(+ `libsodium-dev` if you can find it, else build after) -(to build libsodium after): +(to build `libsodium` after): git clone git://github.com/jedisct1/libsodium.git cd libsodium @@ -43,10 +43,11 @@ automake pkg-config libtool libffi-dev libssl-dev Then: sudo pip install virtualenv - mkdir jmvenv virtualenv jmvenv source jmvenv/bin/activate +**At this point you should see `(jmvenv)` at the beginning of your command prompt.** + Install this repo: git clone https://github.com/AdamISZ/joinmarket-clientserver @@ -54,6 +55,8 @@ Install this repo: #### Installing packages to run everything in-one: +> *NOTE*: It is very important to have activated virtualenv before running this step. Otherwise, `setupall.py` will fail, you may be tempted to re-run it with `sudo setupall.py` which will cause problems in the future. + python setupall.py --daemon python setupall.py --client-bitcoin