Skip to content

Commit

Permalink
Merge pull request #6 from YunoHost-Apps/testing
Browse files Browse the repository at this point in the history
add "requests" dependency
  • Loading branch information
lapineige committed Jan 28, 2023
2 parents c258ed6 + c2a8593 commit 4c127b5
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ https://github.com/wasi-master/13ft
- 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


Expand Down
2 changes: 1 addition & 1 deletion README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ https://github.com/wasi-master/13ft
- 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


Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"en": "Bypass paywall by acting as 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",
"upstream": {
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ 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

#=================================================
Expand Down
13 changes: 13 additions & 0 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,19 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=1

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
#=================================================
Expand Down

0 comments on commit 4c127b5

Please sign in to comment.