1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nocodb_ynh.git synced 2024-09-03 19:56:01 +02:00

Merge pull request #62 from YunoHost-Apps/testing

Fix dependencies installation
This commit is contained in:
tituspijean 2022-10-26 04:07:17 +02:00 committed by GitHub
commit f90086c470
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 10 deletions

View file

@ -27,7 +27,7 @@ NocoDB is an open source NoCode platform that turns any database into a smart sp
*(from NocoDB's website)* *(from NocoDB's website)*
**Shipped version:** 0.98.1~ynh1 **Shipped version:** 0.98.1~ynh2
**Demo:** https://www.nocodb.com/demos **Demo:** https://www.nocodb.com/demos

View file

@ -27,7 +27,7 @@ NocoDB is an open source NoCode platform that turns any database into a smart sp
*(from NocoDB's website)* *(from NocoDB's website)*
**Version incluse :** 0.98.1~ynh1 **Version incluse :** 0.98.1~ynh2
**Démo :** https://www.nocodb.com/demos **Démo :** https://www.nocodb.com/demos

View file

@ -6,7 +6,7 @@
"en": "No-code platform that turns any database into a smart spreadsheet", "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." "fr": "Plateform sans code qui transforme toute base de données en un tableur intelligent."
}, },
"version": "0.98.1~ynh1", "version": "0.98.1~ynh2",
"url": "https://www.nocodb.com", "url": "https://www.nocodb.com",
"upstream": { "upstream": {
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",

View file

@ -126,14 +126,11 @@ pushd $final_path
if [ $YNH_ARCH = "arm64" ]; then if [ $YNH_ARCH = "arm64" ]; then
ynh_print_info --message="Retrieving and building OracleDB for ARM64..." ynh_print_info --message="Retrieving and building OracleDB for ARM64..."
ynh_exec_warn_less ynh_exec_as $app git clone --recursive https://github.com/oracle/node-oracledb.git oracledb ynh_exec_warn_less ynh_exec_as $app git clone --recursive https://github.com/oracle/node-oracledb.git oracledb
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install ./oracledb ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install ./oracledb
ynh_print_info --message="...Done! Installing NocoDB now..." ynh_print_info --message="...Done! Installing NocoDB now..."
fi fi
# https://github.com/Marak/colors.js/issues/285 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 $ynh_npm install colors@1.4.0 --save-exact
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
popd popd
#================================================= #=================================================

View file

@ -114,11 +114,11 @@ pushd $final_path
ynh_print_info --message="Retrieving and building OracleDB for ARM64..." ynh_print_info --message="Retrieving and building OracleDB for ARM64..."
ynh_secure_remove oracledb ynh_secure_remove oracledb
ynh_exec_warn_less ynh_exec_as $app git clone --recursive https://github.com/oracle/node-oracledb.git oracledb ynh_exec_warn_less ynh_exec_as $app git clone --recursive https://github.com/oracle/node-oracledb.git oracledb
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install ./oracledb ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install ./oracledb
ynh_print_info --message="...Done! Installing NocoDB now..." ynh_print_info --message="...Done! Installing NocoDB now..."
fi fi
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force
popd popd
#================================================= #=================================================