1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/umami_ynh.git synced 2024-10-01 13:34:50 +02:00
This commit is contained in:
Éric Gaspar 2023-04-26 12:18:55 +02:00
parent f146eed23f
commit 35f894081c
3 changed files with 14 additions and 4 deletions

View file

@ -2,6 +2,6 @@ DATABASE_TYPE=postgresql
DATABASE_URL=postgresql://__DB_USER__:__DB_PWD__@127.0.0.1:5432/__DB_NAME__ DATABASE_URL=postgresql://__DB_USER__:__DB_PWD__@127.0.0.1:5432/__DB_NAME__
DISABLE_TELEMETRY=1 DISABLE_TELEMETRY=0
PORT=__PORT__ PORT=__PORT__

View file

@ -1,6 +1,6 @@
Umami installation will create a default administrator account: Umami installation will create a default administrator account:
username: `admin` username: admin
password: `umami` password: umami
The first thing you will want to do is log in and change your password. The first thing you will want to do is log in and change your password.

View file

@ -33,7 +33,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=5 ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src # 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" #--keep=".env"
fi fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
@ -55,6 +55,16 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
# Create a dedicated NGINX config # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
chmod 650 "$install_dir/.env"
chown $app:$app "$install_dir/.env"
#================================================= #=================================================
# CONFIGURE THE APP # CONFIGURE THE APP
#================================================= #=================================================