
>> Changed project name from plasma to valence in docs. >> Fixed docstring indentation. >> Added features docs. >> Added driver docs. >> Hidden licence headers from html files. Depends-On: Ia02bc00ad168b3c3d01ef6ca9696d43996091070 Change-Id: I1fa382d566165f5e76c84ad864024c0f546ef74c
2.6 KiB
Download and Installation
The following steps capture how to install valence. All installation steps require super user permissions.
Database etcd installation
Single node installation reference: https://github.com/coreos/etcd/releases
Distributed installation reference: https://github.com/coreos/etcd/blob/master/Documentation/op-guide/clustering.md
For development, single node installation is recommended practice.
Valence Installation
Install software dependencies
$ sudo apt-get install git python-pip python-dev build-essential
Clone the Valence code from git repo.
$ git clone https://git.openstack.org/openstack/valence
Execute the 'install_valence.sh' file present in the Valence root directory. The install script will automatically install the dependencies listed in the requirements.txt file.
$ sudo bash install_valence.sh
Check and set the values in valence.conf located at /etc/valence/valence.conf as required.
Check the PYTHON_HOME and other variables in /etc/init/valence.conf
Initialize etcd database
$ valence-db-manager init
Note: The TypeError exception "TypeError: NoneType object is not callable" is caused by known python-etcd bug, which will not impact this db init functionality. https://github.com/jplana/python-etcd/issues/190
Start valence service
$ sudo service valence start
Logs are located at /var/logs/valence/
Installation using pip
At the command line:
$ pip install valence
Or, if you have virtualenvwrapper installed:
$ mkvirtualenv valence
$ pip install valence
GUI installation
Please refer to the installation steps in the ui-README file.