-
Notifications
You must be signed in to change notification settings - Fork 28
Installation procedure
Mathieu Lavoie edited this page Sep 29, 2016
·
2 revisions
#Installation
- Install MongoDB
- Start MongoDB server
- Download BitCluster exported database
- Restore the BitCluster exported database using mongorestore utility in the database named
bitcoin
-
Modify settings.py and set
db_server
anddb_port
options. -
Install Python 3
- Install python dependencies
pip install flask pyMongo python-bitcoinlib
- Start the website or the web API
- Website :
python start_website.py
- Web API :
python start_webapi.py
Ignore this section if you downloaded the database by torrent. It is recommanded to download and restore the database either then building it from scratch
- Download and install Bitcoin core
- Create a Bitcoin.conf configuration file
- Set or add in your Bitcoin.conf file the following options:
server=1
rpcallowip=<Put the allowed ip addresses here>
rpcport=8332
txindex=1
rpcuser=<set a username of your choice>
rpcpassword=<set a long and complex password>
- Start bitcoind
- Wait until the blockchain have been completely downloaded on your computer (see bitcoind debug.log file for progress)
-
Start build_cluter.py
-
Start map_money.py