mirror of
https://github.com/YunoHost-Apps/tube_ynh.git
synced 2024-09-04 01:46:11 +02:00
commit
5e3b3928cf
9 changed files with 30 additions and 8 deletions
|
@ -30,14 +30,13 @@ tube is a Youtube-like (without censorship and features you don't need!) Video S
|
||||||
- Clean, simple, familiar UI
|
- Clean, simple, familiar UI
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 1.1.13~ynh1
|
**Shipped version:** 1.1.13~ynh2
|
||||||
|
|
||||||
|
|
||||||
**Demo:** https://tube.mills.io
|
**Demo:** https://tube.mills.io
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
||||||
|
|
|
@ -30,14 +30,13 @@ tube is a Youtube-like (without censorship and features you don't need!) Video S
|
||||||
- Clean, simple, familiar UI
|
- Clean, simple, familiar UI
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 1.1.13~ynh1
|
**Version incluse :** 1.1.13~ynh2
|
||||||
|
|
||||||
|
|
||||||
**Démo :** https://tube.mills.io
|
**Démo :** https://tube.mills.io
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Avertissements / informations importantes
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 MiB |
BIN
doc/screenshots/screenshot.png
Normal file
BIN
doc/screenshots/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 373 KiB |
|
@ -6,7 +6,7 @@
|
||||||
"en": "Youtube-like, video Sharing App",
|
"en": "Youtube-like, video Sharing App",
|
||||||
"fr": "Application de partage de vidéos de type Youtube"
|
"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",
|
"url": "https://tube.mills.io",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
# PHP APP SPECIFIC
|
# PHP APP SPECIFIC
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
pkg_dependencies="ffmpeg"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -79,6 +79,13 @@ ynh_script_progression --message="Finding an available port..." --weight=1
|
||||||
port=$(ynh_find_port --port=8000)
|
port=$(ynh_find_port --port=8000)
|
||||||
ynh_app_setting_set --app=$app --key=port --value=$port
|
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
|
# CREATE DEDICATED USER
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -75,10 +75,18 @@ chmod 750 "$datadir"
|
||||||
chmod -R o-rwx "$datadir"
|
chmod -R o-rwx "$datadir"
|
||||||
chown -R $app:www-data "$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
|
# 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"
|
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
||||||
|
|
|
@ -131,6 +131,13 @@ chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
chmod +x "$final_path/tube"
|
chmod +x "$final_path/tube"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# UPGRADE DEPENDENCIES
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Upgrading dependencies..." --weight=1
|
||||||
|
|
||||||
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue