From e0db586e8de47aa651dd8acdd1ceb1ccdcfa39ec Mon Sep 17 00:00:00 2001 From: Joe Button Date: Wed, 1 Jan 2014 13:34:59 +0000 Subject: [PATCH 1/4] Clarify INSTALL doc slightly --- INSTALL | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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. From b176dad4db073d93fb98bfa7521a8f196d44099a Mon Sep 17 00:00:00 2001 From: Joe Button Date: Wed, 1 Jan 2014 13:35:48 +0000 Subject: [PATCH 2/4] Add web UI instructions to README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 80d8665f..9568023c 100644 --- a/README.md +++ b/README.md @@ -150,3 +150,20 @@ 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 + +Visit 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. From 2cbadcc9364746264aab8bf1ff67970d0f335746 Mon Sep 17 00:00:00 2001 From: Joe Button Date: Wed, 1 Jan 2014 13:39:00 +0000 Subject: [PATCH 3/4] linkify url in README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9568023c..6b5f7d54 100644 --- a/README.md +++ b/README.md @@ -165,5 +165,6 @@ them: ./twisterd -rpcuser=user -rpcpassword=pwd -Visit 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. +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. From 323734850f028350ac4f07cc7d45bcab072f24af Mon Sep 17 00:00:00 2001 From: Joe Button Date: Thu, 2 Jan 2014 17:09:44 +0000 Subject: [PATCH 4/4] Specify rpcallowip in web client setup example in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b5f7d54..eca3adbe 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ 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 + ./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