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
|
||||
|
||||
|
||||
**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
|
||||
|
||||
|
|
|
@ -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 |
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",
|
||||
"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",
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
# PHP APP SPECIFIC
|
||||
#=================================================
|
||||
|
||||
pkg_dependencies="ffmpeg"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue