mirror of
https://github.com/YunoHost-Apps/bookwyrm_ynh.git
synced 2024-09-03 18:16:12 +02:00
Fix install + upgrade CSS
This commit is contained in:
parent
d8957b4717
commit
12eb756649
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue