1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/focalboard_ynh.git synced 2024-09-03 18:36:19 +02:00
This commit is contained in:
ericgaspar 2021-03-24 17:40:29 +01:00
parent 377d42d0ce
commit d15e8c2d3b
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@
"serverRoot": "http://127.0.0.1:__PORT__", "serverRoot": "http://127.0.0.1:__PORT__",
"port": __PORT__, "port": __PORT__,
"dbtype": "postgres", "dbtype": "postgres",
"dbconfig": "postgres://__DB_NAME__:__DB_PWD__@localhost/__DB_NAME__?sslmode=disable&connect_timeout=10", "dbconfig": "postgres://__DB_NAME__:__DB_PWD__@localhost/boards?sslmode=disable&connect_timeout=10",
"useSSL": false, "useSSL": false,
"webpath": "./pack", "webpath": "./pack",
"filespath": "./files", "filespath": "./files",

View file

@ -80,7 +80,8 @@ ynh_system_user_create --username=$app
#================================================= #=================================================
ynh_script_progression --message="Creating a PostgreSQL database..." --weight=2 ynh_script_progression --message="Creating a PostgreSQL database..." --weight=2
db_name=$(ynh_sanitize_dbid --db_name=$app) db_name=boards
db_user=$app
ynh_app_setting_set --app=$app --key=db_name --value=$db_name ynh_app_setting_set --app=$app --key=db_name --value=$db_name
ynh_psql_test_if_first_run ynh_psql_test_if_first_run
ynh_psql_setup_db --db_user=$db_name --db_name=$db_name ynh_psql_setup_db --db_user=$db_name --db_name=$db_name