mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-24 13:34:26 +00:00
commit
81b8006d14
9
INSTALL
9
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.
|
bitcoin and libtorrent codebases. So don't expect an easy ride.
|
||||||
Building this thing is quite hacky (but hopefully not complicated).
|
Building this thing is quite hacky (but hopefully not complicated).
|
||||||
|
|
||||||
In order to build twister you need to configure both bitcoin's and
|
1) Twister relies on a bundled custom version of libtorrent, so
|
||||||
libtorrent's.
|
first you need to build that:
|
||||||
|
|
||||||
1) Start with libtorrent:
|
|
||||||
|
|
||||||
$ cd libtorrent
|
$ cd libtorrent
|
||||||
$ ./bootstrap.sh
|
$ ./bootstrap.sh
|
||||||
$ ./configure --enable-logging --enable-debug --enable-dht
|
$ ./configure --enable-logging --enable-debug --enable-dht
|
||||||
$ make
|
$ 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
|
Note2: disable logging if you want, but at this point it might
|
||||||
help to diagnose problems in case anything goes wrong.
|
help to diagnose problems in case anything goes wrong.
|
||||||
|
|
||||||
|
18
README.md
18
README.md
@ -150,3 +150,21 @@ To obtain the full list of commands
|
|||||||
./twisterd help
|
./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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user