mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Changed pip3 install instructions for U14.04
This commit is contained in:
parent
02d941d333
commit
90129b8fa5
@ -7,7 +7,7 @@ We're developing BigchainDB on Ubuntu 14.04, but it should work on any OS that r
|
||||
The RethinkDB documentation has instructions for how to install RethinkDB Server on a variety of operating systems. Do that (using their instructions for your OS): [Install RethinkDB Server](http://rethinkdb.com/docs/install/).
|
||||
|
||||
RethinkDB Server doesn't require any special configuration. You can run it by opening a Terminal and entering:
|
||||
```shell
|
||||
```text
|
||||
$ rethinkdb
|
||||
```
|
||||
|
||||
@ -20,7 +20,7 @@ If you don't already have it, then you should [install Python 3.4+](https://www.
|
||||
BigchainDB has some OS-level dependencies. In particular, you need to install the OS-level dependencies for the Python **cryptography** package. Instructions for installing those dependencies on your OS can be found in the [cryptography package documentation](https://cryptography.io/en/latest/installation/).
|
||||
|
||||
On Ubuntu 14.04, we found that the following was enough (YMMV):
|
||||
```shell
|
||||
```text
|
||||
$ sudo apt-get update
|
||||
$ sudo apt-get install libffi-dev g++ libssl-dev python3-dev
|
||||
```
|
||||
@ -30,38 +30,34 @@ With OS-level dependencies installed, you can install BigchainDB with `pip` or f
|
||||
### How to Install BigchainDB with `pip`
|
||||
|
||||
BigchainDB is distributed as a Python package on PyPI so you can install it using `pip`. First, make sure you have a version of `pip` installed for Python 3.4+:
|
||||
```shell
|
||||
```text
|
||||
$ pip -V
|
||||
```
|
||||
|
||||
If it says the associated Python version is Python 3.4+, then you can do:
|
||||
```shell
|
||||
$ pip install bigchaindb
|
||||
If it says that `pip` isn't installed, or it says `pip` is associated with a Python version less then 3.4, then you must install a `pip` version associated with Python 3.4+. See [the `pip` installation instructions](https://pip.pypa.io/en/stable/installing/). On Ubuntu 14.04, we found that this works:
|
||||
```text
|
||||
$ sudo apt-get install python3-setuptools
|
||||
$ sudo easy_install3 pip
|
||||
```
|
||||
(Note: Using `sudo apt-get python3-pip` also installs a Python 3 version of `pip` (named `pip3`) but we found it installed a very old version and there were issues with updating it.)
|
||||
|
||||
If it says that `pip` isn't installed, or it says `pip` is associated with a Python version less then 3.4, then you must install a `pip` version associated with Python 3.4+. See [the `pip` installation instructions](https://pip.pypa.io/en/stable/installing/).
|
||||
|
||||
On Ubuntu 14.04, we found that this works:
|
||||
```shell
|
||||
$ sudo apt-get python3-pip
|
||||
$ sudo pip3 install bigchaindb
|
||||
Once you have a version of `pip` associated with Python 3.4+, then you can install BigchainDB using:
|
||||
```text
|
||||
pip install bigchaindb
|
||||
```
|
||||
|
||||
(It might not be necessary to use `sudo` in the last command above, but we found that it _was_ necessary for Ubuntu 14.04 on an Amazon Web Services (AWS) instance.)
|
||||
|
||||
In general, once you have a version of `pip` associated with Python 3.4+, then you can install BigchainDB using `pip install bigchaindb` or `pipVER install bigchaindb` where `pipVER` is replaced by whatever you must use to call a version of `pip` associated with Python 3.4+ (e.g. `pip3`).
|
||||
(or maybe `pip3 install bigchaindb` or `pip3.4 bigchaindb`.)
|
||||
|
||||
### How to Install BigchainDB from Source
|
||||
|
||||
BigchainDB is in its early stages and being actively developed on its [GitHub repository](https://github.com/bigchaindb/bigchaindb). Contributions are highly appreciated.
|
||||
|
||||
Clone the public repository:
|
||||
```shell
|
||||
```text
|
||||
$ git clone git@github.com:bigchaindb/bigchaindb.git
|
||||
```
|
||||
|
||||
Install from the source:
|
||||
```shell
|
||||
```text
|
||||
$ python setup.py install
|
||||
```
|
||||
|
||||
@ -72,7 +68,7 @@ Coming soon...
|
||||
## Run BigchainDB
|
||||
|
||||
After installing BigchainDB, run it with:
|
||||
```shell
|
||||
```text
|
||||
$ bigchaindb start
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user