Load Tacker Horizon's static files when deploy with devstack
Currently, when deploying tacker using devstack, the
static files of tacker-horizon are not loaded. This
patch fix that.
Closes-bug:
@@ -322,6 +322,9 @@ function tacker_horizon_install {
git_clone_by_name "tacker-horizon"
setup_dev_lib "tacker-horizon"
sudo cp $DEST/tacker-horizon/tacker_horizon/enabled/* $DEST/horizon/openstack_dashboard/enabled/
+ # make sure NFV's dashboard static files get loaded when deploying
+ $DEST/tacker-horizon/manage.py collectstatic --noinput
+ echo yes | $DEST/tacker-horizon/manage.py compress
restart_apache_server
}
