From 17d2075cd6fa3e3744290a7c3ebae7063221a420 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 25 May 2020 14:13:00 +0200 Subject: [PATCH] cleaning up --- README.md | 2 -- README_fr.md | 2 -- conf/config.json.example | 2 +- scripts/install | 2 +- scripts/upgrade | 1 - 5 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index de28dd2..cb65e72 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,6 @@ If you need to configure CodiMD, you can tweak `/var/www/codimd/config.json` fil ## Limitations -**Status**: In progress, do *not* consider this app as stable and fully working (yet) - ## Additional information ## Links diff --git a/README_fr.md b/README_fr.md index 095b96c..900b4e5 100644 --- a/README_fr.md +++ b/README_fr.md @@ -44,8 +44,6 @@ Si vous voulez configurer CodiMD, vous pouvez modifier votre fichier `/var/www/c ## Limitations -**Statut** : En cours, ne *pas encore* considérer cette application comme stable et fonctionnant. - ## Informations additionnelles ## Liens diff --git a/conf/config.json.example b/conf/config.json.example index 28b8bdf..444d992 100644 --- a/conf/config.json.example +++ b/conf/config.json.example @@ -2,7 +2,7 @@ "production": { "protocolUseSSL": true, "domain": "__DOMAIN__", - "port": __PORT__, + "port": "__PORT__", "loglevel": "info", "useCDN": false, "allowGravatar": false, diff --git a/scripts/install b/scripts/install index 708c6ba..f359e64 100644 --- a/scripts/install +++ b/scripts/install @@ -48,7 +48,7 @@ ynh_script_progression --message="Configuring firewall..." --weight=2 # Find an available port port=$(ynh_find_port --port=3000) -ynh_app_setting_set --app="$app" --key="port" --value="$port" +ynh_app_setting_set --app="$app" --key="port" --value="$port" #================================================= # STORE SETTINGS FROM MANIFEST diff --git a/scripts/upgrade b/scripts/upgrade index b762fa7..0ad1ad0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -22,7 +22,6 @@ is_public=$(ynh_app_setting_get --app=$app --key=is_public) final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) -# Add settings here as needed by your application 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=db_pwd)