Handle static files properly

After isntalling tuskar-ui, we need to collect it's static files to
Horizon.

Change-Id: Ife184ae4b22bbe68e8337a45e01a56d61a891030
This commit is contained in:
Ladislav Smola 2014-09-24 19:29:00 +02:00
parent b185e9408a
commit ce04d42698

View File

@ -21,6 +21,9 @@ tuskar --tuskar-api-version 2 plan-patch -A controller-1::Image=$CONTROL_IMAGE_I
echo "UNDERCLOUD_ADMIN_PASSWORD = \"${OS_PASSWORD}\"" >> $HORIZON_VENV_DIR/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py
DJANGO_SETTINGS_MODULE=openstack_dashboard.settings django-admin.py collectstatic --noinput
DJANGO_SETTINGS_MODULE=openstack_dashboard.settings django-admin.py compress --force
set +u
deactivate
set -u