Skip to content

Installation procedure

Mathieu Lavoie edited this page Sep 29, 2016 · 2 revisions

#Installation

  1. Install MongoDB
  1. Start MongoDB server
  1. Download BitCluster exported database
  1. Restore the BitCluster exported database using mongorestore utility in the database named bitcoin
  1. Modify settings.py and set db_server and db_port options.

  2. Install Python 3

  1. Install python dependencies
  • pip install flask pyMongo python-bitcoinlib
  1. Start the website or the web API
  • Website : python start_website.py
  • Web API : python start_webapi.py

Creating the database from scratch

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

  1. Download and install Bitcoin core
  1. Create a Bitcoin.conf configuration file
  1. 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>
  1. Start bitcoind
  • Wait until the blockchain have been completely downloaded on your computer (see bitcoind debug.log file for progress)
  1. Start build_cluter.py

  2. Start map_money.py

Clone this wiki locally