This commit is contained in:
Mateusz 2023-12-04 18:18:53 +01:00 committed by GitHub
commit 9fa9a18a6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,8 @@ $install_dir/venv/bin/pip3 install -r "$install_dir/requirements.txt"
#================================================= #=================================================
ynh_script_progression --message="Initializing database..." --weight=1 ynh_script_progression --message="Initializing database..." --weight=1
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT Exists pg_trgm;" --database="$db_name"
$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" compile_themes