1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-28 00:27:45 +02:00
Meet BigchainDB. The blockchain database. https://www.bigchaindb.com/
Go to file
2016-02-19 00:30:30 +01:00
bigchaindb Merge pull request #31 from bigchaindb/tests-for-issue-27 2016-02-16 00:01:27 +01:00
docs Be more explicit about the hash and payload keys 2016-02-18 11:15:26 +01:00
tests Replace == with is for some tests 2016-02-18 11:42:34 +01:00
.dockerignore Fix some config issues for docker-compose 2016-02-15 14:42:15 +01:00
.gitignore Add code, have fun! 2016-02-10 19:55:33 +01:00
.travis.yml Install rethinkdb on travis via apt-get 2016-02-12 01:39:41 +01:00
CODE_OF_CONDUCT.md Add code, have fun! 2016-02-10 19:55:33 +01:00
CONTRIBUTING.md In CONTRIBUTING.md format code blocks as plain text 2016-02-15 17:37:40 +01:00
docker-compose.yml Change port number to a higher number 2016-02-17 23:59:26 +01:00
Dockerfile Fix some config issues for docker-compose 2016-02-15 14:42:15 +01:00
LICENSES.md Added LICENSES.md (open source / open content) 2016-02-08 13:03:30 +01:00
pytest.ini Add code, have fun! 2016-02-10 19:55:33 +01:00
README.md Align the gitter badge with the others 2016-02-19 00:30:30 +01:00
ROADMAP.md Add initial ROADMAP.md 2016-02-10 15:48:31 +01:00
setup.cfg Add code, have fun! 2016-02-10 19:55:33 +01:00
setup.py Add docs requirements in setup.py 2016-02-17 23:59:26 +01:00

BigchainDB

Join the chat at https://gitter.im/bigchaindb/bigchaindb PyPI Travis branch Codecov branch Documentation Status

Documentation

Documentation is available at https://bigchaindb.readthedocs.org/

Getting started

Install RethinkDB

On Ubuntu

# install rethinkdb https://rethinkdb.com/docs/install/ubuntu/
$ source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
$ wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install rethinkdb

# start rethinkdb
$ rethinkdb

On other platforms

To install RethinkDB on other platform, please refer to the official documentation.

Install BigchainDB

$ pip install bigchaindb

Running BigchainDB

Currently BigchainDB only supports Python 3.4+

Start the main process. If it's the first time bigchaindb will generate a default configuration file for you.

$ bigchaindb start

Generate some tests transactions:

$ bigchaindb-benchmark load # add '-m' if you want to use all your cores

To know more about the bigchain command run

$ bigchaindb -h

Importing BigchainDB from the interpreter (python/ipython)

Make sure your rethinkdb process is running.

>>> from bigchaindb import Bigchain
>>> b = Bigchain()
>>> b.me
'2B8C8PJxhycFzn4wncRhBNmMWwE5Frr9nLBUa1dGGxj5W'

Configuration

BigchainDB creates a default configuration file on $HOME/.bigchaindb on the first run.

$ bigchaindb show-config

Testing

$ py.test -v