1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nocodb_ynh.git synced 2024-09-03 19:56:01 +02:00
This commit is contained in:
Éric Gaspar 2023-11-21 21:57:25 +01:00
parent 70b5bdeddc
commit 6f7b038854
3 changed files with 9 additions and 6 deletions

View file

@ -9,7 +9,7 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
Environment="__YNH_NODE_LOAD_PATH__" Environment="__YNH_NODE_LOAD_PATH__"
EnvironmentFile=__INSTALL_DIR__/.env EnvironmentFile=__INSTALL_DIR__/.env
ExecStart=__YNH_NODE__ index.js ExecStart=__YNH_NODE__ __INSTALL_DIR__/nocodb
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit StandardError=inherit

View file

@ -5,7 +5,7 @@ name = "NocoDB"
description.en = "No-code platform that turns any database into a smart spreadsheet" description.en = "No-code platform that turns any database into a smart spreadsheet"
description.fr = "Plateform sans code qui transforme toute base de données en un tableur intelligent" description.fr = "Plateform sans code qui transforme toute base de données en un tableur intelligent"
version = "0.202.5~ynh1" version = "0.202.8~ynh1"
maintainers = ["tituspijean"] maintainers = ["tituspijean"]
@ -40,11 +40,13 @@ ram.runtime = "50M"
[resources] [resources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/nocodb/nocodb-seed/archive/bb1686f4c4723042b176e98a6660738a99af495b.zip"
sha256 = "34a0e84757a442d26a93a3cb22249fb860296d7a0d11eadfc642aae55de03f9d"
autoupdate.upstream = "https://github.com/nocodb/nocodb-seed"
autoupdate.strategy = "latest_github_commit"
amd64.url = "https://github.com/nocodb/nocodb/releases/download/0.202.8/Noco-linux-x64"
amd64.sha256 = "746559e2063d28904bb5781ca52a23d6bd97321f10ead23c1f147aea72ad8467"
arm64.url = "https://github.com/nocodb/nocodb/releases/download/0.202.8/Noco-linux-arm64"
arm64.sha256 = "788273d24524816f11fb125cdd1a3c8c517d8819f910fe3ec062275b299552f4"
rename = "nocodb"
extract = false
[resources.system_user] [resources.system_user]

View file

@ -39,6 +39,7 @@ ynh_setup_source --dest_dir="$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
chmod +x $install_dir/nocodb
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION