Skip to content
Snippets Groups Projects
Commit 97926989 authored by Romain CREY's avatar Romain CREY
Browse files

get cozy-app-dev-with-app.sh

parents 4f72b5b6 00b6eeab
No related branches found
No related tags found
2 merge requests!15Merge Dev to Master,!11Features/us406 welcome modal
......@@ -189,36 +189,36 @@ do_create_instances() {
}
do_install_app() {
echo "Installing apps (home, collect..)"
if cozy-stack apps ls | grep 'home'; then
echo "Removing home..."
cozy-stack apps uninstall home
fi
if cozy-stack apps ls | grep 'collect'; then
echo "Removing collect..."
cozy-stack apps uninstall collect
fi
echo "Installing home, collect, store..."
cozy-stack apps install home
cozy-stack apps install collect
echo "App succesfully installed"
echo "Installing konnectors"
if cozy-stack konnectors ls | grep 'enedis'; then
echo "Removing enedis..."
cozy-stack konnectors uninstall enedis
fi
if cozy-stack konnectors ls | grep 'grdf'; then
echo "Removing grdf..."
cozy-stack konnectors uninstall grdf
fi
if cozy-stack konnectors ls | grep 'egl'; then
echo "Removing egl..."
cozy-stack konnectors uninstall egl
fi
cozy-stack konnectors install enedis file:///data/cozy_konnectors/enedis-konnector-build
cozy-stack konnectors install grdf file:///data/cozy_konnectors/grdf-konnector-build
cozy-stack konnectors install egl file:///data/cozy_konnectors/egl-konnector-build
echo "Installing apps (home, collect..)"
if cozy-stack apps ls | grep 'home'; then
echo "Removing home..."
cozy-stack apps uninstall home
fi
if cozy-stack apps ls | grep 'collect'; then
echo "Removing collect..."
cozy-stack apps uninstall collect
fi
echo "Installing home, collect, store..."
cozy-stack apps install home
cozy-stack apps install collect
echo "App succesfully installed"
echo "Installing konnectors"
if cozy-stack konnectors ls | grep 'enedis'; then
echo "Removing konnector enedis..."
cozy-stack konnectors uninstall enedis
fi
if cozy-stack konnectors ls | grep 'grdf'; then
echo "Removing konnector grdf..."
cozy-stack konnectors uninstall grdf
fi
if cozy-stack konnectors ls | grep 'egl'; then
echo "Removing konnector egl..."
cozy-stack konnectors uninstall egl
fi
cozy-stack konnectors install enedis git://forge.grandlyon.com/web-et-numerique/llle_project/enedis-konnector.git#build
cozy-stack konnectors install grdf git://forge.grandlyon.com/web-et-numerique/llle_project/grdf-konnector.git#build
cozy-stack konnectors install egl git://forge.grandlyon.com/web-et-numerique/llle_project/egl-konnector.git#build
}
wait_for() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment