1.9 KiB
1.9 KiB
System dependencies
double: installing; common_steps
Note
The below operations should take place underneath your <project> folder.
Install module dependencies
Debian, Ubuntu:
$ apt-get install python-pip python-lxml
Fedora, Centos, RHEL:
$ yum install pip-python python-lxml
Storage dependencies
installing; storage
Depending on the datastore that is currently supported and your pick of them you need to install the underlying server and client libraries as well as python bindings.
See System dependencies before continuing.
Example for MySQL on Debian, Ubuntu:
$ apt-get install mysql-server mysql-client libmysqlclient-dev
Using MySQL bindings:
$ pip install MySQL-python
Using oursql bindings (use 'mysql+oursql://.....' instead of 'mysql://'):
$ pip install oursql
Cloning git repo
Install GIT.
On ubuntu you do the following:
$ apt-get install git-core
On Fedora / Centos / RHEL:
$ apt-get install git
Clone a BS repo off of Github:
$ git clone https://github.com/billingstack/<project repo> $ cd <project repo>
Now continue with whatever other thing needs to be setup.