1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/openproject_ynh.git synced 2024-09-03 19:56:10 +02:00
This commit is contained in:
Moutonjr Geoff 2019-10-04 14:55:06 +02:00
parent 6fa1c20588
commit bead79c1db

View file

@ -122,11 +122,15 @@ EOF
ynh_store_file_checksum --file="$_openproject_install_dat"
ynh_replace_string --match_string=".*PORT=.*" --replace_string="export port=$port" --target_file="/etc/default/openproject"
#=================================================
# CREATE A POSTGRESQL DATABASE
#=================================================
ynh_script_progression --message="Creating a PostgreSQL database..." --weight=1
ynh_psql_create_user "$db_user" "$db_pwd"
ynh_psql_create_db "$db_name" "$db_user" "$db_pwd"
#=================================================
@ -142,9 +146,6 @@ openproject configure
#### SETUP APPLICATION WITH CURL
####=================================================
###
#### Set right permissions for curl install
###chown -R $app: $final_path
###
#### Set the app as temporarily public for curl call
###ynh_script_progression --message="Configuring SSOwat..." --weight=1
###ynh_app_setting_set --app="$app" --key=skipped_uris --value="/"