Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 462 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 462 Bytes

django-tiniest

A template for a Django project in one file.

Setting up virtual environment

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Running the application

Development server:

python app.py runserver 8000

Gunicorn:

gunicorn app

Uvicorn:

uvicorn app:application

Note: You need to change one line in app.py. Search for "ASGI" in app.py.