UPSTASH_REDIS_REST_URL
and UPSTASH_REDIS_REST_TOKEN
to your environment.
requirements.txt
to include upstash-redis
.
3.12
to match Vercel Python Runtime and avoid conflicts on deployment, you can use any other environment management system.
/example/views.py
:
python manage.py runserver
, check http://localhost:8000/
Deploy your app with vercel
Set UPSTASH_REDIS_REST_URL
and UPSTASH_REDIS_REST_TOKEN
in your project’s Settings -> Environment Variables. Redeploy from Deployments tab.