7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-05-29 20:30:48 +00:00

Move .env file as part of the upgrade-to-tutor command

This commit is contained in:
Régis Behmo 2019-01-05 12:45:20 +01:00
parent d7ffd439ef
commit 7105183172

View File

@ -47,6 +47,7 @@ upgrade-to-tutor: ## Upgrade from earlier versions of tutor
&& echo "Moving config/config.json to ./config.json" && mv config/config.json config.json \
&& echo "Moving config/ to deploy/env/" && mv config/ deploy/env/ \
&& ((ls openedx/themes/* > /dev/null 2>&1 && echo "Moving openedx/themes/* to build/openedx/themes/" && mv openedx/themes/* build/openedx/themes/) || true) \
&& (mv .env deploy/local/ > /dev/null 2>&1 || true)\
&& echo "Done migrating to tutor. This command will not be run again."\
)) || true