mirror of
https://github.com/YunoHost-Apps/fider_ynh.git
synced 2024-09-03 18:36:11 +02:00
commit
df31389e04
6 changed files with 8 additions and 6 deletions
|
@ -41,7 +41,7 @@ Fider is a feedback portal that helps teams collect and prioritize customer feed
|
||||||
* Email required for administation (uses "magic links" instead of admin passwords)
|
* Email required for administation (uses "magic links" instead of admin passwords)
|
||||||
|
|
||||||
* You should manually configure the app after installation.
|
* You should manually configure the app after installation.
|
||||||
* You should edit /opt/yunohost/fider/run_fider to add environment variables, e.g for Github integration
|
* You should edit /var/www/fider/run_fider to add environment variables, e.g for Github integration
|
||||||
|
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ Fider is a feedback portal that helps teams collect and prioritize customer feed
|
||||||
* Email required for administation (uses "magic links" instead of admin passwords)
|
* Email required for administation (uses "magic links" instead of admin passwords)
|
||||||
|
|
||||||
* You should manually configure the app after installation.
|
* You should manually configure the app after installation.
|
||||||
* You should edit /opt/yunohost/fider/run_fider to add environment variables, e.g for Github integration
|
* You should edit /var/www/fider/run_fider to add environment variables, e.g for Github integration
|
||||||
|
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
* Email required for administation (uses "magic links" instead of admin passwords)
|
* Email required for administation (uses "magic links" instead of admin passwords)
|
||||||
|
|
||||||
* You should manually configure the app after installation.
|
* You should manually configure the app after installation.
|
||||||
* You should edit /opt/yunohost/fider/run_fider to add environment variables, e.g for Github integration
|
* You should edit /var/www/fider/run_fider to add environment variables, e.g for Github integration
|
||||||
|
|
|
@ -37,7 +37,7 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating installation parameters..." --weight=1
|
ynh_script_progression --message="Validating installation parameters..." --weight=1
|
||||||
|
|
||||||
final_path=/opt/yunohost/$app
|
final_path=/var/www/$app
|
||||||
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
||||||
|
|
||||||
# Register (book) web path
|
# Register (book) web path
|
||||||
|
|
|
@ -88,7 +88,7 @@ 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"
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,8 @@ path_url=$(ynh_app_setting_get --app=$app --key=path)
|
||||||
admin=$(ynh_app_setting_get --app=$app --key=admin)
|
admin=$(ynh_app_setting_get --app=$app --key=admin)
|
||||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||||
|
db_user=$(ynh_app_setting_get --app=$app --key=db_user)
|
||||||
|
db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
|
||||||
secret=$(ynh_app_setting_get --app=$app --key=secret)
|
secret=$(ynh_app_setting_get --app=$app --key=secret)
|
||||||
port=$(ynh_app_setting_get --app=$app --key=port)
|
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||||
|
|
||||||
|
@ -98,7 +100,7 @@ ynh_install_app_dependencies $pkg_dependencies
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --time --weight=1
|
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
|
||||||
|
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
Loading…
Reference in a new issue