Skip to content

Installation

First you have to fork and clone this repository:

git clone https://github.com/<username>/drf-superset

Initialize virtual environment using python version 3.7 (in this case I am using poetry as package manager):

poetry env use $(which python3.7)

And install all required dependency packages:

poetry install --no-dev
poetry shell

Create migrations for drf_superset and media apps:

python manage.py makemigrations drf_superset media
python manage.py migrate

Run it:

python manage.py runserver

Go to http://127.0.0.1:8000/docs/

Note

If you want to test the endpoint on the jwt tag, don't forget to run the local SMTP server first.

python -m smtpd -c DebuggingServer -n -d