Difference between revisions of "Freezer-installation"
Memo Garcia (talk | contribs) (Created page with "= Freezer Installation =") |
Memo Garcia (talk | contribs) |
||
Line 1: | Line 1: | ||
− | = | + | '''Note''' If you want to install an specific branch, make sure to do the following steps for each repo: |
+ | |||
+ | git clone -b stable/mitaka https://github.com/openstack/freezer | ||
+ | |||
+ | |||
+ | == API == | ||
+ | |||
+ | === Elasticsearch === | ||
+ | |||
+ | on ubuntu/debian, install openjdk | ||
+ | |||
+ | sudo apt-get install openjdk-7-jre | ||
+ | |||
+ | download elasticsearch from '''https://www.elastic.co/downloads/elasticsearch''' and make sure the version is '''<2.0''' | ||
+ | |||
+ | and the install elasticsearch | ||
+ | |||
+ | sudo dpkg -i elasticsearch.deb | ||
+ | |||
+ | start elasticsearch | ||
+ | |||
+ | sudo service elasticsearch start | ||
+ | |||
+ | === Install freezer api === | ||
+ | '''It is recommended to install the api in a virtual environment''' | ||
+ | |||
+ | git clone https://github.com/openstack/freezer-api.git | ||
+ | cd freezer-api | ||
+ | virtualenv .venv | ||
+ | source .venv/bin/activate | ||
+ | pip install -e . |
Revision as of 13:11, 25 May 2016
Note If you want to install an specific branch, make sure to do the following steps for each repo:
git clone -b stable/mitaka https://github.com/openstack/freezer
API
Elasticsearch
on ubuntu/debian, install openjdk
sudo apt-get install openjdk-7-jre
download elasticsearch from https://www.elastic.co/downloads/elasticsearch and make sure the version is <2.0
and the install elasticsearch
sudo dpkg -i elasticsearch.deb
start elasticsearch
sudo service elasticsearch start
Install freezer api
It is recommended to install the api in a virtual environment
git clone https://github.com/openstack/freezer-api.git cd freezer-api virtualenv .venv source .venv/bin/activate pip install -e .