diff --git a/conf/env b/conf/env index b3b1173..6408910 100644 --- a/conf/env +++ b/conf/env @@ -1,4 +1,4 @@ -NODE_ENV=dev +NODE_ENV=production PORT=__PORT__ NC_DB=mysql2://localhost:3306?u=__DB_USER__&p=__DB_PWD__&d=__DB_NAME__ NC_AUTH_JWT_SECRET=__JWT_SECRET__ diff --git a/manifest.json b/manifest.json index 4546c98..fcee1ce 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "No-code platform that turns any database into a smart spreadsheet", "fr": "Plateform sans code qui transforme toute base de données en un tableur intelligent." }, - "version": "0.100.2~ynh1", + "version": "0.104.2~ynh1", "url": "https://www.nocodb.com", "upstream": { "license": "AGPL-3.0-only", diff --git a/scripts/install b/scripts/install index 7f84c04..a13a176 100755 --- a/scripts/install +++ b/scripts/install @@ -130,7 +130,7 @@ pushd $final_path ynh_print_info --message="...Done! Installing NocoDB now..." fi - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --save nocodb@$YNH_APP_MANIFEST_VERSION popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 04ee26d..a358b22 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,7 +118,8 @@ pushd $final_path ynh_print_info --message="...Done! Installing NocoDB now..." fi - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm uninstall nocodb + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --save nocodb@$YNH_APP_MANIFEST_VERSION popd #=================================================