mirror of
https://github.com/YunoHost-Apps/umami_ynh.git
synced 2024-10-01 13:34:50 +02:00
fix
This commit is contained in:
parent
f146eed23f
commit
35f894081c
3 changed files with 14 additions and 4 deletions
|
@ -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__
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue