diff --git a/INSTALL b/INSTALL index 3591302c..dd90ea32 100644 --- a/INSTALL +++ b/INSTALL @@ -8,17 +8,16 @@ This software is a proof-of-concept, a forced marriage between bitcoin and libtorrent codebases. So don't expect an easy ride. Building this thing is quite hacky (but hopefully not complicated). -In order to build twister you need to configure both bitcoin's and -libtorrent's. - -1) Start with libtorrent: +1) Twister relies on a bundled custom version of libtorrent, so +first you need to build that: $ cd libtorrent $ ./bootstrap.sh $ ./configure --enable-logging --enable-debug --enable-dht $ make -Note1: 64-bit systems may need "--with-boost-libdir=/usr/lib64" +Note1: 64-bit systems may need eg. "--with-boost-libdir=/usr/lib64" + or "--with-boost-libdir=/usr/lib/x86_64-linux-gnu/" Note2: disable logging if you want, but at this point it might help to diagnose problems in case anything goes wrong. diff --git a/README.md b/README.md index 80d8665f..eca3adbe 100644 --- a/README.md +++ b/README.md @@ -150,3 +150,21 @@ To obtain the full list of commands ./twisterd help +Running the web interface +------------------------- + +First you'll need to grab the latest version of the web UI code and put it +in your twister data dir: + + cd ~/.twister/ + git clone https://github.com/miguelfreitas/twister-html.git ./html + +Next, run the twister daemon. The RPC username and password are currently +hard coded as "user" and "pwd" in the web client so you'll need to specify +them: + + ./twisterd -rpcuser=user -rpcpassword=pwd -rpcallowip=127.0.0.1 + +Visit [http://localhost:28332/index.html](http://localhost:28332/index.html) +in your web browser and you should see a page asking you to choose between the +Desktop and Mobile interfaces.