Add an installation doc

A quick doc for installation

Change-Id: I04702a3b665de506f9b3422ce8217537e8f6378d
This commit is contained in:
tengqm
2017-07-25 21:59:45 -04:00
parent b204c8acef
commit 39c4dd0669
2 changed files with 37 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ Contents:
.. toctree::
:maxdepth: 2
install/index
cli/index

View File

@@ -0,0 +1,36 @@
..
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
.. _guide-install:
============
Installation
============
If you are installing senlinclient from an OpenStack distribution, follow the
guide provided by the vendor.
If you prefer installing senlinclient from source repo, you can do it by
first get senlinclient code from OpenStack git repository.
::
$ cd /opt/stack
$ git clone https://git.openstack.org/openstack/python-senlinclient.git
Then execute the following command
::
$ cd python-senlinclient
$ sudo python setup.py install