]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix the Getting Started guide for the new setup.py
authorZane Bitter <zbitter@redhat.com>
Thu, 31 May 2012 14:09:35 +0000 (16:09 +0200)
committerZane Bitter <zbitter@redhat.com>
Fri, 1 Jun 2012 11:27:11 +0000 (13:27 +0200)
With the new setup.py script, OpenStack must be installed before heat,
otherwise PIP will start importing bogus dependencies (at least on Fedora).

Also install stuff that was previously being installed by setup.py. This
will eventually be replaced with an install script (see #134).

Change-Id: I942def545f9351a1f3238dac49f34b13370e2597
Signed-off-by: Zane Bitter <zbitter@redhat.com>
docs/GettingStarted.rst

index 23ca5ce4ff3dc1a3a393a5a10128a47e66d38fd2..4fedabd60a5a063704516c7102ac7f8746eca8fa 100644 (file)
@@ -16,16 +16,14 @@ Getting Started With Heat
     # Exit on error
     set -e
 
-Install heat from source
-------------------------
+Get Heat
+--------
 
-Clone the heat repository_ from GitHub at git://github.com/heat-api/heat.git and install::
-
-    sudo python setup.py install
+Clone the heat repository_ from GitHub at ``git://github.com/heat-api/heat.git``. Note that OpenStack must be installed before heat.
 
 .. _repository: https://github.com/heat-api/heat
 
-Install Openstack
+Install OpenStack
 -----------------
 
 Installing OpenStack on Fedora 16
@@ -62,6 +60,17 @@ Installing OpenStack on other Distributions
 .. _Debian packaging team for OpenStack: http://wiki.openstack.org/Packaging/Debian
 .. _installing OpenStack on Ubuntu: http://docs.openstack.org/bexar/openstack-compute/admin/content/ch03s02.html
 
+Install heat from source
+------------------------
+
+In the heat directory, run the install script::
+
+    sudo python setup.py install
+    sudo install -d /etc/heat
+    sudo install etc/*.conf etc/*.ini /etc/heat
+    sudo install etc/bash_completion.d/heat /etc/bash_completion.d/heat
+    sudo install -d /var/log/heat
+
 Download Fedora 16 DVD and copy it to libvirt images location
 -------------------------------------------------------------