<div dir="ltr"><div>OpenStack dashboards are installed in /usr/share/openstack-dashboard. Since this directory also contains the manage.py script I wanted to see if it is possible to use it for development of new plugins. I started the server (along with the actual Horizon) using:</div><div><br></div><div>sudo python manage.py runserver <a href="http://0.0.0.0:8888">0.0.0.0:8888</a></div><div><br></div><div>When I navigated to <a href="http://host:8888/">http://host:8888/</a> I got the dashboard but without any style (see <a href="http://imgur.com/EKS1PIQ">http://imgur.com/EKS1PIQ</a>). When I restart the httpd, it is properly refreshed, but it is a bit cumbersome to develop and debug the plugin with this approach.</div><div><br></div><div>I resolved it as Kevin suggested by cloning another copy of Horizon and working with it there.</div><div><br></div><div>Thanks,</div><div>-Gregor</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 February 2016 at 09:41, Matthias Runge <span dir="ltr"><<a href="mailto:mrunge@redhat.com" target="_blank">mrunge@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 18/02/16 13:54, Gregor Berginc wrote:<br>
> Dear all,<br>
><br>
> I've just migrated from devstack to RDO because it was much easier to<br>
> deploy and configure OpenStack on my dev machine.<br>
><br>
> One thing, unfortunately, I couldn't have found. Is there a way to<br>
> facilitate the development of Horizon dashboards? I've noticed that<br>
> dashboards are installed in /usr/shared/openstack-dashboard. I can<br>
> deploy new dashboards and use them by restarting the httpd. The<br>
> directory also has manage.py, but it doesn't seem to work properly (at<br>
> least static resources are missing).<br>
><br>
> Thus, I am wondering if there is a way to launch a separate development<br>
> server for Horizon dashboards?<br>
><br>
> Thanks in advance,<br>
> -Gregor<br>
><br>
<br>
</div></div>What do you mean by 'static resources are missing'?<br>
<br>
httpd restart runs collectstatic and also runs compress. That means, if<br>
your dashboard is added via plugin, it should be picked up automatically.<br>
<br>
Matthias<br>
<br>
_______________________________________________<br>
Rdo-list mailing list<br>
<a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a><br>
</blockquote></div><br></div>