mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
Fix
This commit is contained in:
parent
6400b9a3e5
commit
3422afb7da
4 changed files with 13 additions and 8 deletions
|
@ -40,7 +40,6 @@ key=$(ynh_string_random --length=32)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Validating installation parameters..." --weight=1
|
||||
|
||||
|
||||
final_path=/var/www/$app
|
||||
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
||||
|
||||
|
|
|
@ -99,6 +99,12 @@ mkdir "$final_path/venv"
|
|||
python3 -m venv "$final_path/venv"
|
||||
$final_path/venv/bin/pip3 install -r "$final_path/requirements.txt"
|
||||
|
||||
#=================================================
|
||||
# SET PERMISSIONS ON BOOKWYRM DIRECTORY
|
||||
#=================================================
|
||||
|
||||
chown -R $app:www-data $final_path
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue