<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Matthias Runge &#187; OpenStack</title>
	<atom:link href="http://www.matthias-runge.de/category/openstack/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.matthias-runge.de</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 12:17:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>OpenStack testing session @FLOCK</title>
		<link>http://www.matthias-runge.de/2013/05/18/openstack-testing-session-flock/</link>
		<comments>http://www.matthias-runge.de/2013/05/18/openstack-testing-session-flock/#comments</comments>
		<pubDate>Sat, 18 May 2013 12:17:43 +0000</pubDate>
		<dc:creator>mrunge</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[OpenStack]]></category>

		<guid isPermaLink="false">http://www.matthias-runge.de/?p=155</guid>
		<description><![CDATA[As you might heard, we at Fedora had FUDCons (Fedora Users and Developers conference), which is now replaced by a conference named Flock. The first one will be held in Charleston, South Carolina between Aug. 9th and 12th. 2013. Coming there is a unique chance this year, to meet many Fedora users and developers to [...]]]></description>
				<content:encoded><![CDATA[<p>As you might heard, we at Fedora had FUDCons (Fedora Users and Developers conference), which is now replaced by a conference named <a href="http://flocktofedora.com/">Flock</a>. The first one will be held in Charleston, South Carolina between Aug. 9th and 12th. 2013. Coming there is a unique chance this year, to meet many Fedora users and developers to come together, discuss new ideas, work to make those ideas a reality, and continue to promote the core values of the Fedora Community: Freedom, Friends, Features, and First.</p>
<p>OpenStack is a somehow complex thing to setup and to integrate into Linux distributions. Thus, I proposed an <a href="http://flock-lmacken.rhcloud.com/proposals#50">OpenStack testing hackfest at Flock</a>, to test the latest build for Fedora, and also to bring users and developers together into one room. Currently, it is not decided, if this session is accepted, so please stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.matthias-runge.de/2013/05/18/openstack-testing-session-flock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a custom theme for Horizon</title>
		<link>http://www.matthias-runge.de/2013/02/15/how-to-create-a-custom-theme-for-horizon/</link>
		<comments>http://www.matthias-runge.de/2013/02/15/how-to-create-a-custom-theme-for-horizon/#comments</comments>
		<pubDate>Fri, 15 Feb 2013 16:09:04 +0000</pubDate>
		<dc:creator>mrunge</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenStack]]></category>

		<guid isPermaLink="false">http://www.matthias-runge.de/?p=141</guid>
		<description><![CDATA[Based on the idea or proposal of Kieran Spear, I&#8217;ll document here, what has to be done, if one needs to customize Horizon (for whatever reason). Let&#8217;s say, one needs to create a corporate theme, named horizon_bigcorp. Then we first need to change local_settings.py. In Fedora and EPEL, that file is located at /etc/openstack-dashboard/local_settings Append [...]]]></description>
				<content:encoded><![CDATA[<p>Based on the idea or proposal of Kieran Spear, I&#8217;ll document here, what has to be done, if one needs to customize Horizon (for whatever reason).</p>
<p>Let&#8217;s say, one needs to create a corporate theme, named horizon_bigcorp. Then we first need to change local_settings.py. In Fedora and EPEL, that file is located at <code>/etc/openstack-dashboard/local_settings</code></p>
<p>Append the following lines to that file</p>
<pre>
THEME_APP = 'horizon_bigcorp'</code>

try:
    __import__(THEME_APP)
    INSTALLED_APPS = (THEME_APP,) + INSTALLED_APPS
except:
    pass
</pre>
<p>Then we&#8217;ll create a customization app:<br />
<code></code></p>
<pre>├── __init__.py
├── __init__.pyc
├── models.py
├── models.pyc
├── static
│   └── dashboard
│       ├── img
│       │   ├── bigcorpfavicon.ico
│       │   └── bigcorplogo.png
│       └── less
│           └── bigcorptheme.less
└── templates
    ├── horizon
    │   └── common
    │       └── _sidebar.html
    └── _stylesheets.html

7 directories, 9 files</pre>
<p>Those .py files just need to be empty files.<br />
The magic is in <code>_stylesheets.html</code>, it&#8217;s basically a modified copy of file <code>openstack_dashboard/templates/_stylesheets.html</code>:</p>
<pre>{% load compress %}

{% compress css %}
&lt;link href='{{ STATIC_URL }}dashboard/less/horizon.less' type='text/less' media='screen' rel='stylesheet' /&gt;
{% endcompress %}

&lt;link rel="shortcut icon" href="{{ STATIC_URL }}dashboard/img/favicon.ico"/&gt;</pre>
<p>Note, you just need a customized theme.less, if you did changes at css (most likely). Like stylesheets, theme.less is a modified copy of it&#8217;s counterpart taken from the openstack_dashboard directory.</p>
<p>Another example, how this can be implemented can be found here: <a href="https://github.com/mrunge/horizon/tree/customization">https://github.com/mrunge/horizon/tree/customization</a>, where I modified <code>settings.py</code> instead of changing local_settings.py.example</p>
]]></content:encoded>
			<wfw:commentRss>http://www.matthias-runge.de/2013/02/15/how-to-create-a-custom-theme-for-horizon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing OpenStack Dashboard using Fedora</title>
		<link>http://www.matthias-runge.de/2012/11/20/developing-openstack-dashboard-using-fedora/</link>
		<comments>http://www.matthias-runge.de/2012/11/20/developing-openstack-dashboard-using-fedora/#comments</comments>
		<pubDate>Tue, 20 Nov 2012 13:02:46 +0000</pubDate>
		<dc:creator>mrunge</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenStack]]></category>

		<guid isPermaLink="false">http://www.matthias-runge.de/?p=134</guid>
		<description><![CDATA[Lately, I&#8217;m getting involved into developing OpenStack, especially it&#8217;s dashboard. Many developers recommend using devstack to work on OpenStack. For some reasons, I can&#8217;t recommend that for Dashboard. My colleague Dan Berrange has an article with all dirty details. Good news is, at least for OpenStack&#8217;s dashboard, devstack is not required in any case, it [...]]]></description>
				<content:encoded><![CDATA[<p>Lately, I&#8217;m getting involved into developing OpenStack, especially it&#8217;s dashboard.</p>
<p>Many developers recommend using <a href="http://devstack.org/">devstack</a> to work on OpenStack. For some reasons, I can&#8217;t recommend that for Dashboard. My colleague <a href="http://berrange.com/">Dan Berrange</a> has an <a href="http://berrange.com/posts/2012/11/20/what-devstack-does-to-your-host-when-setting-up-openstack-on-fedora-17/">article with all dirty details</a>.</p>
<p>Good news is, at least for OpenStack&#8217;s dashboard, devstack is not required in any case, it just runs on plain Fedora. I simply followed the instructions provided for <a href="https://fedoraproject.org/wiki/Test_Day:2012-09-18_OpenStack">Fedora&#8217;s test day</a>, and they worked great for me, no rocket science and no engineering master required.</p>
<p>Additionally I installed git and git-review (as root):<br />
<code>yum -y install git git-review</code><br />
then go to the location where you want to put the code, for me that&#8217;s<br />
<code>cd ~/work</code></p>
<p>and execute<br />
<code>git clone https://github.com/openstack/horizon.git &amp;&amp; cd horizon</code></p>
<p>This will get the source code from github, will create a new directory named horizon, and change to that directory.<br />
<code>./manage.py runserver</code></p>
<p>starts Django&#8217;s built in development server on your host, per default on port 8000.</p>
<p>To visit your shiny Dashboard, direct your webbrowser to http://localhost:8000 .</p>
<p>When finished with your desired changes, you should submit them for review. The process around that is covered here: <a href="http://wiki.openstack.org/GerritWorkflow">http://wiki.openstack.org/GerritWorkflow</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.matthias-runge.de/2012/11/20/developing-openstack-dashboard-using-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
