From 485043a532ce7317415c9c6d15abcb28b0dfb85d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Thu, 17 May 2018 22:58:25 +0000 Subject: [PATCH] Reset BDD provoque apply migrations et collect statics --- install_re2o.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install_re2o.sh b/install_re2o.sh index 222262bf..6fe11972 100755 --- a/install_re2o.sh +++ b/install_re2o.sh @@ -789,7 +789,8 @@ main_function() { echo " * {update-packages} Install the missing APT and pip packages" echo " * {update-settings} Interactively rewrite the settings file" echo " * {reset-db} ------ Erase the previous local database, setup a new empty" - echo " one and apply the Django migrations on it." + echo " one and apply the Django migrations on it and collect" + echo " Django statics." echo " Parameters:" echo " * -- the clear-text password to connect to the database" echo " * [db_engine_type] the SQL engine to use ('mysql' or 'postgresql')." @@ -854,6 +855,7 @@ main_function() { db_username="re2o" fi install_database "$db_engine_type" 1 "$db_name" "$db_username" "$db_password" + update-django else echo "Invalid arguments !" echo "Usage: install_re2o setup-db [] [] []"