1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tandoor_ynh.git synced 2024-09-03 20:35:56 +02:00

Merge pull request #19 from YunoHost-Apps/testing

Testing
This commit is contained in:
Navan Chauhan 2022-12-27 14:02:24 -05:00 committed by GitHub
commit 7af88ef214
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 6 deletions

View file

@ -44,7 +44,7 @@ a public page.
- 📥️ **Import your collection** from many other [recipe managers](https://docs.tandoor.dev/features/import_export/) - 📥️ **Import your collection** from many other [recipe managers](https://docs.tandoor.dev/features/import_export/)
- Many more like recipe scaling, image compression, printing views and supermarkets - Many more like recipe scaling, image compression, printing views and supermarkets
**Shipped version:** 1.4.4~ynh1 **Shipped version:** 1.4.5~ynh1
**Demo:** https://app.tandoor.dev/accounts/login/?demo **Demo:** https://app.tandoor.dev/accounts/login/?demo

View file

@ -44,7 +44,7 @@ a public page.
- 📥️ **Import your collection** from many other [recipe managers](https://docs.tandoor.dev/features/import_export/) - 📥️ **Import your collection** from many other [recipe managers](https://docs.tandoor.dev/features/import_export/)
- Many more like recipe scaling, image compression, printing views and supermarkets - Many more like recipe scaling, image compression, printing views and supermarkets
**Version incluse :** 1.4.4~ynh1 **Version incluse :** 1.4.5~ynh1
**Démo :** https://app.tandoor.dev/accounts/login/?demo **Démo :** https://app.tandoor.dev/accounts/login/?demo

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/TandoorRecipes/recipes/archive/refs/tags/1.4.4.tar.gz SOURCE_URL=https://github.com/TandoorRecipes/recipes/archive/refs/tags/1.4.5.tar.gz
SOURCE_SUM=e7d2a6435628bf17555fef497f84d5406c8fec1b3f6618a55457e70be6df7b61 SOURCE_SUM=715c08f76dfb25d7df7d3886a40f7042622eae1b6c3aa8e4f033ffefab936d4a
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -1,4 +1,5 @@
location / { #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
proxy_pass http://127.0.0.1:__PORT__; proxy_pass http://127.0.0.1:__PORT__;
proxy_redirect off; proxy_redirect off;

View file

@ -6,7 +6,7 @@
"en": "Application for managing and sharing recipes, planning meals, building shopping lists and much much more!", "en": "Application for managing and sharing recipes, planning meals, building shopping lists and much much more!",
"fr": "Gérez et partagez vos recettes, planifiez vos repas, créez vos listes de courses et beaucoup plus encore !" "fr": "Gérez et partagez vos recettes, planifiez vos repas, créez vos listes de courses et beaucoup plus encore !"
}, },
"version": "1.4.4~ynh1", "version": "1.4.5~ynh1",
"url": "https://tandoor.dev", "url": "https://tandoor.dev",
"upstream": { "upstream": {
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",

View file

@ -127,6 +127,11 @@ chown $app:$app "$final_path/recipes/version.py"
if [ "$upgrade_type" == "UPGRADE_APP" ] if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Upgrading dependencies via pip..." --weight=4
pushd "$final_path"
ynh_exec_warn_less ynh_exec_as $app "$final_path/venv/bin/pip3" install -r requirements.txt
popd
ynh_script_progression --message="Running migrations and generatic static files..." --weight=2 ynh_script_progression --message="Running migrations and generatic static files..." --weight=2
pushd "$final_path" pushd "$final_path"
# load environment variables # load environment variables