1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/13ft_ynh.git synced 2024-09-03 18:06:03 +02:00

Merge pull request #6 from YunoHost-Apps/testing

add "requests" dependency
This commit is contained in:
lapineige 2023-01-28 16:07:07 +01:00 committed by GitHub
commit 4c127b5475
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 3 deletions

View file

@ -22,7 +22,7 @@ https://github.com/wasi-master/13ft
- Provide *some* web articles that are normally protected by paywalls. - Provide *some* web articles that are normally protected by paywalls.
**Shipped version:** 0.1.1~ynh4 **Shipped version:** 0.1.1~ynh5
## Disclaimers / important information ## Disclaimers / important information

View file

@ -22,7 +22,7 @@ https://github.com/wasi-master/13ft
- Provide *some* web articles that are normally protected by paywalls. - Provide *some* web articles that are normally protected by paywalls.
**Version incluse :** 0.1.1~ynh4 **Version incluse :** 0.1.1~ynh5
## Avertissements / informations importantes ## Avertissements / informations importantes

View file

@ -6,7 +6,7 @@
"en": "Bypass paywall by acting as GoogleBot", "en": "Bypass paywall by acting as GoogleBot",
"fr": "Contourner les paywall en vous faisant passer pour GoogleBot" "fr": "Contourner les paywall en vous faisant passer pour GoogleBot"
}, },
"version": "0.1.1~ynh4", "version": "0.1.1~ynh5",
"url": "https://github.com/wasi-master/13ft", "url": "https://github.com/wasi-master/13ft",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",

View file

@ -87,6 +87,7 @@ pushd $final_path
python3 -m venv venv python3 -m venv venv
venv/bin/pip install --upgrade pip venv/bin/pip install --upgrade pip
venv/bin/pip install -r requirements.txt # should only be flask for now, but just in case venv/bin/pip install -r requirements.txt # should only be flask for now, but just in case
venv/bin/pip install requests
popd popd
#================================================= #=================================================

View file

@ -126,6 +126,19 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies ynh_install_app_dependencies $pkg_dependencies
#=================================================
# INSTALL PYTHON DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing python dependencies..." --weight=1
pushd $final_path
python3 -m venv venv
venv/bin/pip install --upgrade pip
venv/bin/pip install -r requirements.txt # should only be flask for now, but just in case
venv/bin/pip install requests
popd
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================