mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-30 08:32:26 +00:00
Fix db-reset
This commit is contained in:
parent
028a163615
commit
ffde9f1a98
1 changed files with 4 additions and 3 deletions
|
@ -763,8 +763,9 @@ main_function() {
|
||||||
echo " * {help} ---------- Display this quick usage documentation"
|
echo " * {help} ---------- Display this quick usage documentation"
|
||||||
echo " * {setup} --------- Launch the full interactive guide to setup entirely"
|
echo " * {setup} --------- Launch the full interactive guide to setup entirely"
|
||||||
echo " re2o from scratch"
|
echo " re2o from scratch"
|
||||||
echo " * {update} -------- Collect frontend statics, install the missing APT and copy LaTeX templates files"
|
echo " * {update} -------- Collect frontend statics, install the missing APT"
|
||||||
echo " and pip packages and apply the migrations to the DB"
|
echo " and pip packages, copy LaTeX templates files"
|
||||||
|
echo " and apply the migrations to the DB"
|
||||||
echo " * {update-django} - Apply Django migration and collect frontend statics"
|
echo " * {update-django} - Apply Django migration and collect frontend statics"
|
||||||
echo " * {copy-template-files} - Copy LaTeX templates files to media/templates"
|
echo " * {copy-template-files} - Copy LaTeX templates files to media/templates"
|
||||||
echo " * {update-packages} Install the missing APT and pip packages"
|
echo " * {update-packages} Install the missing APT and pip packages"
|
||||||
|
@ -840,7 +841,7 @@ main_function() {
|
||||||
db_username="re2o"
|
db_username="re2o"
|
||||||
fi
|
fi
|
||||||
install_database "$db_engine_type" 1 "$db_name" "$db_username" "$db_password"
|
install_database "$db_engine_type" 1 "$db_name" "$db_username" "$db_password"
|
||||||
update-django
|
update_django
|
||||||
else
|
else
|
||||||
echo "Invalid arguments !"
|
echo "Invalid arguments !"
|
||||||
echo "Usage: install_re2o setup-db <db_password> [<db_engine_type>] [<db_name>] [<db_username>]"
|
echo "Usage: install_re2o setup-db <db_password> [<db_engine_type>] [<db_name>] [<db_username>]"
|
||||||
|
|
Loading…
Reference in a new issue