Create an account at render.com
Plug in public GitHub URL

make sure language is Python 3
build command:
uv sync --frozen && uv cache prune --ci && uv run manage.py makemigrations && uv run manage.py migrate
start command: uv run manage.py runserver 0.0.0.0:$PORT (this is a dev server, for prod deployments use gunicorn)
choose Instance type: Free
Configure environment variables
For Django (use “From .env file” for convenience):
ALLOWED_HOSTS=*
CSRF_TRUSTED_ORIGINS=https://*.onrender.com
Don’t forget env vars from the .env.local file if you are using 3rd party APIs.
Deploy!
Click here to create a new Postgres DB on Render.com
choose Free instance

copy internal connection URL to the DATABASE_URL env variable

In you main project, prepend uv add psycopg2-binary && to build command:
uv add psycopg2-binary && uv sync --frozen && uv cache prune --ci && uv run manage.py migratePrevious