1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/superset_ynh.git synced 2024-09-03 20:26:31 +02:00

Fix FLASK_APP=superset

This commit is contained in:
tituspijean 2024-01-26 19:48:32 +01:00
parent 1c8a49692a
commit 04f5c06069
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ ynh_script_progression --message="Installing app..." --weight=5
# Prepare environment
python3.9 -m venv $install_dir/venv
localpath=$install_dir/venv/bin:$PATH
environment="FLASK_APP=$app SUPERSET_CONFIG_PATH=$install_dir/superset_config.py SUPERSET_SECRET_KEY=$secret_key"
environment="FLASK_APP=superset SUPERSET_CONFIG_PATH=$install_dir/superset_config.py SUPERSET_SECRET_KEY=$secret_key"
export $environment
# Install and initialize Superset

View file

@ -44,7 +44,7 @@ ynh_script_progression --message="Upgrading app..." --weight=5
# Prepare environment
python3.9 -m venv --upgrade $install_dir/venv
localpath=$install_dir/venv/bin:$PATH
environment="FLASK_APP=$app SUPERSET_CONFIG_PATH=$install_dir/superset_config.py SUPERSET_SECRET_KEY=$secret_key"
environment="FLASK_APP=superset SUPERSET_CONFIG_PATH=$install_dir/superset_config.py SUPERSET_SECRET_KEY=$secret_key"
export $environment
# Install and initialize Superset