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:
parent
1c8a49692a
commit
04f5c06069
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue