mirror of
https://github.com/YunoHost-Apps/umami_ynh.git
synced 2024-10-01 13:34:50 +02:00
commit
e2a71a12d9
7 changed files with 9 additions and 8 deletions
|
@ -31,7 +31,7 @@ Umami is a simple, easy to use, self-hosted web analytics solution. The goal is
|
|||
- Privacy-focused
|
||||
|
||||
|
||||
**Shipped version:** 2.6.2~ynh2
|
||||
**Shipped version:** 2.6.2~ynh3
|
||||
|
||||
**Demo:** https://app.umami.is/share/8rmHaheU/umami.is
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ Umami is a simple, easy to use, self-hosted web analytics solution. The goal is
|
|||
- Privacy-focused
|
||||
|
||||
|
||||
**Version incluse :** 2.6.2~ynh2
|
||||
**Version incluse :** 2.6.2~ynh3
|
||||
|
||||
**Démo :** https://app.umami.is/share/8rmHaheU/umami.is
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
DATABASE_TYPE=postgresql
|
||||
DATABASE_URL=postgresql://__DB_USER__:__DB_PWD__@127.0.0.1:5432/__DB_NAME__
|
||||
DISABLE_TELEMETRY=0
|
||||
DISABLE_TELEMETRY=1
|
||||
PORT=__PORT__
|
||||
DEFAULT_LOCALE="__LANGUAGE__"
|
||||
|
|
|
@ -7,8 +7,9 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
#Environment=NODE_ENV=production
|
||||
Environment=NODE_ENV=production
|
||||
Environment="__YNH_NODE_LOAD_PATH__"
|
||||
Environment=NEXT_TELEMETRY_DISABLED=1
|
||||
ExecStart=__YNH_NPM__ run start-env
|
||||
|
||||
# Sandboxing options to harden security
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Umami"
|
|||
description.en = "Simple, fast, privacy-focused alternative to Google Analytics"
|
||||
description.fr = "Analyse de trafic web simple et respectueux"
|
||||
|
||||
version = "2.6.2~ynh2"
|
||||
version = "2.6.2~ynh3"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ ynh_script_progression --message="Configuring the app..." --weight=15
|
|||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NEXT_TELEMETRY_DISABLED=1 yarn build
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -46,7 +46,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" #--keep=".env"
|
||||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 #--keep=".env"
|
||||
fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
@ -91,7 +91,7 @@ ynh_script_progression --message="Configuring the app..." --weight=15
|
|||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NEXT_TELEMETRY_DISABLED=1 yarn build
|
||||
#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH npx @umami/migrate-v1-v2@latest
|
||||
popd
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue