Updated dependencies and typos
This commit is contained in:
parent
f5101da647
commit
9bf976d04e
5 changed files with 27 additions and 26 deletions
|
|
@ -56,10 +56,10 @@ ynh_webpath_register "$app" "$domain" "$path_url"
|
|||
# STORE SETTINGS FROM MANIFEST
|
||||
#=================================================
|
||||
|
||||
ynh_app_setting_set "$app" domain "$domain"
|
||||
ynh_app_setting_set "$app" domain "$domain"
|
||||
ynh_app_setting_set "$app" admin_email "$admin_email"
|
||||
ynh_app_setting_set "$app" admin_pass "$admin_pass"
|
||||
ynh_app_setting_set "$app" is_public "$is_public"
|
||||
ynh_app_setting_set "$app" admin_pass "$admin_pass"
|
||||
ynh_app_setting_set "$app" is_public "$is_public"
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
|
|
@ -90,18 +90,18 @@ mkdir -p "$datadir"
|
|||
# install nodejs
|
||||
ynh_install_nodejs 8
|
||||
|
||||
# add backports for Debian Jessie (required to install ffmpeg)
|
||||
# Add backports for Debian Jessie (required to install ffmpeg)
|
||||
if [ "$(lsb_release --codename --short)" == "jessie" ]; then
|
||||
echo "deb http://httpredir.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/jessie-backports.list
|
||||
fi
|
||||
|
||||
# add yarn repo for Debian
|
||||
# Add yarn repo for Debian
|
||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
||||
ynh_package_update
|
||||
|
||||
# install postgresql, ffmpeg, redis
|
||||
ynh_install_app_dependencies postgresql ffmpeg redis-server redis-tools mailutils yarn
|
||||
# install dependencies
|
||||
ynh_install_app_dependencies postgresql postgresql-contrib openssl g++ ffmpeg redis-server redis-tools mailutils yarn apt-transport-https
|
||||
|
||||
#=================================================
|
||||
# DATABASE SETUP
|
||||
|
|
@ -151,11 +151,11 @@ touch "$final_path/config/local-production.json"
|
|||
#=================================================
|
||||
|
||||
# Create a dedicated nginx config
|
||||
mkdir -p "/etc/nginx/conf.d/${domain}.d"
|
||||
mkdir -p "/etc/nginx/conf.d/${domain}.d" # ( I don't remember why this is here, I think can be removed)
|
||||
ynh_add_nginx_config
|
||||
|
||||
|
||||
# Set right permissions for curl install
|
||||
# Set right permissions for the app
|
||||
chown -R "$app":"$app" "$datadir"
|
||||
|
||||
# Reload Nginx
|
||||
|
|
@ -240,11 +240,11 @@ systemctl start "$app"
|
|||
|
||||
message=" $app was successfully installed :)
|
||||
|
||||
Please open https://$domain$path_url
|
||||
Please open your $app domain: https://$domain$path_url
|
||||
|
||||
The admin username is: root
|
||||
Here is the admin password: $admin_pass
|
||||
The admin password is: $admin_pass
|
||||
|
||||
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/peertube_ynh"
|
||||
If you are facing any problem or want to improve this app, please open a new issue here: https://github.com/YunoHost-Apps/peertube_ynh"
|
||||
|
||||
ynh_send_readme_to_admin "$message"
|
||||
|
|
|
|||
|
|
@ -109,7 +109,8 @@ message="$app was successfully removed :)
|
|||
|
||||
$app was successfully removed. The domain https://$domain$path_url is free for other apps to be installed on it.
|
||||
|
||||
But a futher action is required from your side to completely remove the $app data folder. If you are planing to restore the app in the future don't run the command given below. And if you are going to switch to othe server you will have to move /home/yunohost.app/$app to your new server.
|
||||
But a futher action is required from your side to completely remove the $app data folder. If you have backup and plan to restore this app in the future DON'T RUN THIS COMMAND.
|
||||
And if you are going to migrate to othe server you will have to move /home/yunohost.app/$app to your new server.
|
||||
|
||||
|
||||
You need to run this command to remove the data (warning all your videos will be removed) :
|
||||
|
|
@ -117,6 +118,6 @@ You need to run this command to remove the data (warning all your videos will be
|
|||
rm -R /home/yunohost.app/$app -f
|
||||
|
||||
|
||||
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/peertube_ynh"
|
||||
If you facing any problem or want to improve this app, please open a new issue here: https://github.com/YunoHost-Apps/peertube_ynh"
|
||||
|
||||
ynh_send_readme_to_admin "$message"
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.lis
|
|||
ynh_package_update
|
||||
|
||||
# install postgresql, ffmpeg, redis
|
||||
ynh_install_app_dependencies postgresql ffmpeg redis-server redis-tools mailutils yarn
|
||||
ynh_install_app_dependencies postgresql postgresql-contrib openssl g++ ffmpeg redis-server redis-tools mailutils yarn apt-transport-https
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE PostgreSQL DATABASE
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.lis
|
|||
ynh_package_update
|
||||
|
||||
# install postgresql, ffmpeg, redis
|
||||
ynh_install_app_dependencies postgresql ffmpeg redis-server redis-tools mailutils yarn
|
||||
ynh_install_app_dependencies postgresql postgresql-contrib openssl g++ ffmpeg redis-server redis-tools mailutils yarn apt-transport-https
|
||||
|
||||
#=================================================
|
||||
# CHECK THE PATH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue