- Download or clone the repo.
- Open a terminal window in the downloaded/cloned folder.
- Run
pip install -r requirements.txt
if you don't have Django installed. Skip this step otherwise. - Run
python manage.py migrate
to apply database migrations. - Run
python manage.py createsuperuser
to create a super user 🦸. - Run
python manage.py runserver
. If everything is ok you should see in your terminal window something written like:
System check identified no issues (0 silenced).
July 25, 2022 - 16:04:38
Django version 4.0.6, using settings 'notes_api_2022.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
- Access in browser
http://127.0.0.1:8000/docs/
to see the generated docs.
If you see this you're golden and you can start working.