1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tube_ynh.git synced 2024-09-04 01:46:11 +02:00

Merge pull request #5 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2023-01-09 13:59:28 +01:00 committed by GitHub
commit 5e3b3928cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 30 additions and 8 deletions

View file

@ -30,14 +30,13 @@ tube is a Youtube-like (without censorship and features you don't need!) Video S
- Clean, simple, familiar UI
**Shipped version:** 1.1.13~ynh1
**Shipped version:** 1.1.13~ynh2
**Demo:** https://tube.mills.io
## Screenshots
![Screenshot of Tube](./doc/screenshots/screenshot-1.png)
![Screenshot of Tube](./doc/screenshots/screenshot.png)
## Disclaimers / important information

View file

@ -30,14 +30,13 @@ tube is a Youtube-like (without censorship and features you don't need!) Video S
- Clean, simple, familiar UI
**Version incluse :** 1.1.13~ynh1
**Version incluse :** 1.1.13~ynh2
**Démo :** https://tube.mills.io
## Captures d'écran
![Capture d'écran de Tube](./doc/screenshots/screenshot-1.png)
![Capture d'écran de Tube](./doc/screenshots/screenshot.png)
## Avertissements / informations importantes

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 KiB

View file

@ -6,7 +6,7 @@
"en": "Youtube-like, video Sharing App",
"fr": "Application de partage de vidéos de type Youtube"
},
"version": "1.1.13~ynh1",
"version": "1.1.13~ynh2",
"url": "https://tube.mills.io",
"upstream": {
"license": "MIT",

View file

@ -6,6 +6,8 @@
# PHP APP SPECIFIC
#=================================================
pkg_dependencies="ffmpeg"
#=================================================
# PERSONAL HELPERS
#=================================================

View file

@ -79,6 +79,13 @@ ynh_script_progression --message="Finding an available port..." --weight=1
port=$(ynh_find_port --port=8000)
ynh_app_setting_set --app=$app --key=port --value=$port
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing dependencies..." --weight=4
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# CREATE DEDICATED USER
#=================================================

View file

@ -75,10 +75,18 @@ chmod 750 "$datadir"
chmod -R o-rwx "$datadir"
chown -R $app:www-data "$datadir"
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=1
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the NGINX web server configuration..." --time --weight=1
ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"

View file

@ -131,6 +131,13 @@ chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chmod +x "$final_path/tube"
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
ynh_script_progression --message="Upgrading dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# NGINX CONFIGURATION
#=================================================