Skip to content

Commit 7ce52b4

Browse files
authored
fix python celery example deploy url (#1450)
### Description Fixes deploy url on Python Celery example ### Demo URL <!-- Provide a URL to a live deployment where we can test your PR. If a demo isn't possible feel free to omit this section. --> ### Type of Change - [ ] New Example - [x] Example updates (Bug fixes, new features, etc.) - [ ] Other (changes to the codebase, but not to examples) ### New Example Checklist - [ ] 🛫 `npm run new-example` was used to create the example - [ ] 📚 The template wasn't used but I carefuly read the [Adding a new example](https://github.com/vercel/examples#adding-a-new-example) steps and implemented them in the example - [ ] 📱 Is it responsive? Are mobile and tablets considered?
1 parent a7f5a21 commit 7ce52b4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

python/celery/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fcelery&demo-title=Celery%20%2B%20Vercel%20Queues&demo-description=Use%20Celery%20with%20Vercel%20Queues%20and%20Redis%20using%20the%20Python%20Runtime.&demo-url=https%3A%2F%2Fvercel-plus-celery.labs.vercel.dev%2F&demo-image=https://assets.vercel.com/image/upload/v1669994600/random/python.png)
1+
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fcelery&project-name=Python%20Celery%20Starter&repository-name=python-celery-starter&demo-title=Python%20Celery%20Starter&demo-description=Deploy%20Python%20Celery%20workers%20using%20Vercel%20Queues.&demo-url=https%3A%2F%2Fvercel-plus-celery.labs.vercel.dev%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F1Sol5L2cpAqe5gh7IbEtLY%2F40a6478fedeea79ef4dd217e113068eb%2Fvercel-celery.png&skippable-integrations=1&stores=%255B%257B%2522type%2522%253A%2522integration%2522%252C%2522group%2522%253A%2522redis%2522%257D%255D)
22

33
# Celery + Vercel
44

55
This example shows how to use Celery with [Vercel Queues](https://vercel.com/docs/queues) and Redis on Vercel with Serverless Functions using the [Python Runtime](https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/python).
66

7+
## Demo
8+
9+
https://vercel-plus-celery.labs.vercel.dev/
10+
711
## How it Works
812

913
Celery uses a custom [Vercel Queues](https://vercel.com/docs/queues) broker to run tasks in a dedicated worker service. On Vercel, projects containing a Python worker service automatically set `CELERY_BROKER_URL` to `vercel://`, so Celery runs on top of Vercel Queues out of the box. Job status and results are stored in Redis, and a FastAPI dashboard lets you queue jobs, watch progress, and inspect results.
@@ -21,4 +25,4 @@ Your Celery application is now available at `http://localhost:3000`.
2125

2226
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples):
2327

24-
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fcelery&demo-title=Celery%20%2B%20Vercel%20Queues&demo-description=Use%20Celery%20with%20Vercel%20Queues%20and%20Redis%20using%20the%20Python%20Runtime.&demo-url=https%3A%2F%2Fvercel-plus-celery.labs.vercel.dev%2F&demo-image=https://assets.vercel.com/image/upload/v1669994600/random/python.png)
28+
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fcelery&project-name=Python%20Celery%20Starter&repository-name=python-celery-starter&demo-title=Python%20Celery%20Starter&demo-description=Deploy%20Python%20Celery%20workers%20using%20Vercel%20Queues.&demo-url=https%3A%2F%2Fvercel-plus-celery.labs.vercel.dev%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F1Sol5L2cpAqe5gh7IbEtLY%2F40a6478fedeea79ef4dd217e113068eb%2Fvercel-celery.png&skippable-integrations=1&stores=%255B%257B%2522type%2522%253A%2522integration%2522%252C%2522group%2522%253A%2522redis%2522%257D%255D)

0 commit comments

Comments
 (0)