1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00

Upgrade Nodejs

This commit is contained in:
ericgaspar 2022-02-01 16:51:43 +01:00
parent 226d60e48e
commit ac27fff382
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@
"addGoogleAnalytics": false
},
"db": {
"username": "__DB_NAME__",
"username": "__DB_USER__",
"password": "__DB_PWD__",
"database": "__DB_NAME__",
"host": "localhost",

View file

@ -7,7 +7,7 @@
# dependencies used by the app
pkg_dependencies="postgresql apt-transport-https libssl-dev"
nodejs_version=11
nodejs_version=14
#=================================================
# PERSONAL HELPERS

View file

@ -83,10 +83,10 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
ynh_script_progression --message="Creating a PostgreSQL database..." --weight=2
db_name=$(ynh_sanitize_dbid --db_name=$app)
db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
db_user=$db_name
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
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_user --db_name=$db_name
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE