Fix install + upgrade CSS

This commit is contained in:
oufmilo 2023-02-27 17:15:47 +01:00
parent d8957b4717
commit 12eb756649
2 changed files with 3 additions and 1 deletions

View file

@ -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" migrate
$install_dir/venv/bin/python3 "$install_dir/manage.py" initdb $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 $install_dir/venv/bin/python3 "$install_dir/manage.py" collectstatic --no-input

View file

@ -64,9 +64,10 @@ $install_dir/venv/bin/pip3 install -r "$install_dir/requirements.txt"
#================================================= #=================================================
ynh_script_progression --message="Upgrading database..." --weight=1 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" collectstatic --no-input
$install_dir/venv/bin/python3 "$install_dir/manage.py" populate_streams $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 # SET PERMISSIONS ON BOOKWYRM DIRECTORY