aboutsummaryrefslogtreecommitdiff
path: root/www/py-horizon/files/pkg-message.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-horizon/files/pkg-message.in')
-rw-r--r--www/py-horizon/files/pkg-message.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/py-horizon/files/pkg-message.in b/www/py-horizon/files/pkg-message.in
new file mode 100644
index 000000000000..72e0c6c83d2b
--- /dev/null
+++ b/www/py-horizon/files/pkg-message.in
@@ -0,0 +1,29 @@
+Please note that this is a development version of Horizon.
+
+You may serve horizon (OpenStack Dashboard) with apache web server.
+Use this snippet as reference:
+
+WSGIScriptAlias / %%PYTHON_SITELIBDIR%%/openstack_dashboard/wsgi/django.wsgi process-group=horizon
+WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 display-name=%{GROUP}
+WSGIProcessGroup horizon
+Alias /static/dashboard %%PYTHON_SITELIBDIR%%/openstack_dashboard/static/dashboard
+<Directory %%PYTHON_SITELIBDIR%%/openstack_dashboard/static>
+ Require all granted
+</Directory>
+<Directory %%PYTHON_SITELIBDIR%%/openstack_dashboard/wsgi>
+ Require all granted
+</Directory>
+
+Also if you plan to use apache make sure that wsgi4 module is enabled and
+you set correct ownership for static and local libraries for openstack_dashboard:
+
+# chown -R horizon %%PYTHON_SITELIBDIR%%/openstack_dashboard/static
+# chown -R horizon %%PYTHON_SITELIBDIR%%/openstack_dashboard/local
+
+Create local_settings.py with your settings at
+%%PYTHON_SITELIBDIR%%/openstack_dashboard/local
+
+To enable django-compressor add this option to local_settings.py file:
+
+STATIC_ROOT = '%%PYTHON_SITELIBDIR%%/openstack_dashboard/static'
+