Update 'Superset minimal setup'

Guillem Borrell Nogueras 2023-02-23 11:34:22 +01:00
parent f3fc272417
commit aea30afd30

@ -12,9 +12,10 @@ python3.8 -m venv env-superset
source env-superset/bin/activate source env-superset/bin/activate
python -m pip install --upgrade pip setuptools wheel psycopg2-binary gunicorn python -m pip install --upgrade pip setuptools wheel psycopg2-binary gunicorn
python -m pip install flask==2.0.3 werkzeug==2.0.3 jinja2==3.0.1 "wtforms<3.0" apache-superset==2.0.0 pillow python -m pip install flask==2.0.3 werkzeug==2.0.3 jinja2==3.0.1 "wtforms<3.0" apache-superset==2.0.0 pillow
FLASK_APP=superset superset db upgrade FLASK_APP=superset
export FLASK_APP=superset export FLASK_APP=superset
export PYTHONPATH=. export PYTHONPATH=.
superset db upgrade
superset fab create-admin superset fab create-admin
superset init superset init
PYTHONPATH=. gunicorn -b 0.0.0.0:8088 "superset.app:create_app()" PYTHONPATH=. gunicorn -b 0.0.0.0:8088 "superset.app:create_app()"