mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
Upgrade
This commit is contained in:
parent
ac72525a47
commit
5cef9c313c
1 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,9 @@ then
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$final_path" --keep=".env"
|
ynh_setup_source --dest_dir="$final_path" --keep=".env"
|
||||||
|
ynh_exec_warn_less ynh_exec_as $app ./bw-dev update
|
||||||
|
ynh_exec_warn_less ynh_exec_as $app ./bw-dev populate_streams
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
|
@ -99,6 +102,7 @@ mkdir "$final_path/venv"
|
||||||
python3 -m venv "$final_path/venv"
|
python3 -m venv "$final_path/venv"
|
||||||
$final_path/venv/bin/pip3 install -r "$final_path/requirements.txt"
|
$final_path/venv/bin/pip3 install -r "$final_path/requirements.txt"
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SET PERMISSIONS ON BOOKWYRM DIRECTORY
|
# SET PERMISSIONS ON BOOKWYRM DIRECTORY
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue