Back to Vercel

Django Starter

examples/django/README.md

16.1.21.1 KB
Original Source

Django Starter

Deploy your Django project to Vercel with zero configuration.

Visit the Django documentation to learn more.

Getting Started

Install the required dependencies:

bash
python -m venv .venv
source .venv/bin/activate
pip install .

Or, if using uv:

bash
uv sync

Running Locally

Start the development server on http://0.0.0.0:5001

bash
python run.py
# using uv:
uv run run.py

When you make changes to your project, the server will automatically reload.

Deploying to Vercel

Deploy your project to Vercel with the following command:

bash
npm install -g vercel
vercel --prod

Or git push to your repository with our git integration.

To view the source code for this template, visit the example repository.