pip install pipenv
pipenv --two && pipenv shell
(as the time of writing, superset is more stable on py2)pipenv install
(which will use the info inPipfile.lock
)- install database packages you need
supervisord
- See
supervisord.conf
andsuperset_config.py
for more - BTW, you may want to initialize superset first
supervisorctl
- For example,
supervisorctl stop all
- this superset config assume
redis
running atlocalhost:6379
with no password Pipfile.lock
is a workable version, but if you want to use newer versions, just delete it beforepipenv install
superset runserver
calls gunicorn, sometimes the sub group processes will not be stopped when you ask supervisor to stop superset process- Manual:
ps aux | grep gunicorn
, find the pid, andkill -9 <pid>
- Manual: