twister

Peer-to-peer microblogging

User Tools

Site Tools


using:howto:compiling_twister_on_debian_7

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
using:howto:compiling_twister_on_debian_7 [2014/02/04 08:17]
natir created
using:howto:compiling_twister_on_debian_7 [2015/01/19 03:56] (current)
jordila [Start twister deamon]
Line 1: Line 1:
-**if you have not installed git, you should do this firest:**+====== Compiling twister on Debian 7 ======
  
-sudo apt-get install git+===== Installation of tools =====
  
-**then ​get install twister:**+<​code>​ 
 +sudo apt-get update
  
-mkdir twister+sudo apt-get install build-essential libboost-all-dev \ 
 +libdb++-dev libminiupnpc-dev libtool libssl-dev autoconf git 
 +</​code>​
  
-cd twister+===== Get and install ​twister ​=====
  
-sudo apt-get update+==== twister daemon ====
  
-sudo apt-get install libssl-dev libdb-dev libdb++-dev libminiupnpc-dev libboost-all-dev build-essential git autoconf libtool+<​code>​ 
 +mkdir ~/twister 
 + 
 +cd ~/twister
  
 git clone https://​github.com/​miguelfreitas/​twister-core.git git clone https://​github.com/​miguelfreitas/​twister-core.git
Line 17: Line 23:
 git clone https://​github.com/​miguelfreitas/​twister-html.git git clone https://​github.com/​miguelfreitas/​twister-html.git
  
 +cd twister-core
 +
 +./​autotool.sh
 +
 +./configure
 +
 +make
 +
 +</​code>​
 +
 +==== twister html ====
 +
 +<​code>​
 mkdir ~/.twister mkdir ~/.twister
  
-mv twister-html ​~/.twister/html+cd ~/.twister
  
-cd twister-core+git clone https://​github.com/​miguelfreitas/​twister-html.git html 
 +</​code>​
  
-./​bootstrap.sh+==== Configuration ====
  
-make+<​code>​ 
 +echo -e "​rpcuser=user\nrpcpassword=pwd"​ > ~/​.twister/​twister.conf
  
-./twisterd -daemon -rpcuser=user -rpcpassword=pwd -rpcallowip=127.0.0.1+chmod 600 ~/​.twister/​twister.conf 
 +</​code>​ 
 + 
 +===== Start twister deamon ===== 
 + 
 +<​code>​ 
 +cd ~/​twister/​twister-core 
 +</​code>​ 
 + 
 + 
 +<​code>​ 
 +./twisterd -daemon -rpcallowip=127.0.0.1 
 +</​code>​ 
 + 
 + 
 +===== Using twister ===== 
 + 
 +With your browser, open http://127.0.0.1:​28332/​index.html 
 + 
 +===== Update version ===== 
 + 
 +<​code>​ 
 +cd ~/​twister/​twister-core 
 + 
 +git pull 
 + 
 +./​autotool.sh 
 + 
 +./​configure 
 + 
 +make 
 +</​code>​ 
 +<​code>​ 
 +cd ~/​.twister/​html
  
-** +git pull
-then goto your browser:**+
  
-http://​127.0.0.1:​28332/​index.html+</code>
  
using/howto/compiling_twister_on_debian_7.1391498271.txt.gz · Last modified: 2014/02/04 08:17 by natir