Move enabled directory to app_catalog

This commit moves the enabled directory from
the root of the repo to the app_catalog
directory. This will allow the directory to
be included in the python package, and
matches the layout of a few other Horizon-
related projects.

Change-Id: Icb63b8c996826fccc2ba785be0321396d8a803fd
This commit is contained in:
Christopher Aedo 2015-10-07 11:50:53 -07:00
parent 1a1a76cbf3
commit fca79d93b6
6 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
include setup.py
recursive-include enabled *
recursive-include app_catalog/enabled *
recursive-include app_catalog/static *
recursive-include app_catalog/templates *
recursive-include component_catalog/templates *

View File

@ -35,7 +35,7 @@ With Horizon
cp ./openstack_dashboard/local/local_settings.py.example ./openstack_dashboard/local/local_settings.py
pushd ../apps-catalog-ui
../horizon/tools/with_venv.sh pip install --upgrade .
cp -a enabled/* ../horizon/openstack_dashboard/enabled/
cp -a app_catalog/enabled/* ../horizon/openstack_dashboard/enabled/
popd
#FOR Murano Dashboard support:

View File

@ -5,7 +5,7 @@ APP_CAT_UI_DIR=$(cd $(dirname $BASH_SOURCE)/.. && pwd)
function install_app-catalog-ui {
sudo pip install --upgrade ${APP_CAT_UI_DIR}
cp -a ${APP_CAT_UI_DIR}/app_catalog/static ${DEST}/horizon/
cp -a ${APP_CAT_UI_DIR}/enabled/* ${DEST}/horizon/openstack_dashboard/enabled/
cp -a ${APP_CAT_UI_DIR}/app_catalog/enabled/* ${DEST}/horizon/openstack_dashboard/enabled/
python ${DEST}/horizon/manage.py compress --force
}