From 12eb756649a5bbfb7d637c0031906e4540691bf8 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Mon, 27 Feb 2023 17:15:47 +0100 Subject: [PATCH] Fix install + upgrade CSS --- scripts/install | 1 + scripts/upgrade | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index d89d281..d21888c 100755 --- a/scripts/install +++ b/scripts/install @@ -47,6 +47,7 @@ ynh_script_progression --message="Initializing database..." --weight=1 $install_dir/venv/bin/python3 "$install_dir/manage.py" migrate $install_dir/venv/bin/python3 "$install_dir/manage.py" initdb +$install_dir/venv/bin/python3 "$install_dir/manage.py" compile_themes $install_dir/venv/bin/python3 "$install_dir/manage.py" collectstatic --no-input diff --git a/scripts/upgrade b/scripts/upgrade index b5203b6..6bb9e8b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -64,9 +64,10 @@ $install_dir/venv/bin/pip3 install -r "$install_dir/requirements.txt" #================================================= ynh_script_progression --message="Upgrading database..." --weight=1 -$install_dir/venv/bin/python3 "$install_dir/manage.py" migrate +$install_dir/venv/bin/python3 "$install_dir/manage.py" compile_themes $install_dir/venv/bin/python3 "$install_dir/manage.py" collectstatic --no-input $install_dir/venv/bin/python3 "$install_dir/manage.py" populate_streams +$install_dir/venv/bin/python3 "$install_dir/manage.py" migrate #================================================= # SET PERMISSIONS ON BOOKWYRM DIRECTORY