Difference between revisions of "OpenStack:Horizon"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Horizon Dashboard == Horizon is the dashboard for Openstack. It provides a web based interface to manage other Open Stack services. == Installation == Install the pre-r...")
 
Line 19: Line 19:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
To set up the deffault settings you will need to copy the example file.  The file can then be edited to added any additional settings.
+
To set up the deffault settings you will need to copy the example file.  The file can then be edited to added any additional settings. By default Horizon defaults to using the localhost IP>  To change this edit the 'OPENSTACK_HOST' setting to the correct IP.
  
 
<syntaxhighlight>
 
<syntaxhighlight>
 
cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py
 
cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py
 +
</syntaxhighlight>
 +
 +
 +
== Starting Horizon ==
 +
 +
Start the serive with the manage.py script, beofre pointing your browser at the IP of the system.
 +
 +
<syntaxhighlight>
 +
tools/with_venv.sh ./manage.py runserver
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 10:25, 14 May 2014

Horizon Dashboard

Horizon is the dashboard for Openstack. It provides a web based interface to manage other Open Stack services.

Installation

Install the pre-requisite packages:

sudo yum install gcc git-core python-devel python-virtualenv openssl-devel libffi-devel

Clone the git repoistory to get the latest version of horizon and hten run the 'run_tests.sh' script. The script will set up the environment and check to make sure everything is working.

git clone https://github.com/openstack/horizon.git
cd horizon
./run_tests.sh

To set up the deffault settings you will need to copy the example file. The file can then be edited to added any additional settings. By default Horizon defaults to using the localhost IP> To change this edit the 'OPENSTACK_HOST' setting to the correct IP.

cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py


Starting Horizon

Start the serive with the manage.py script, beofre pointing your browser at the IP of the system.

tools/with_venv.sh ./manage.py runserver