Skip to content

Commit 60d56b9

Browse files
authored
Update README.md
1 parent 3f3b18f commit 60d56b9

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
1-
# Django + Celery
1+
# Asynchronous Tasks with Django and Celery
2+
3+
Example of how to handle background processes with Django, Celery, and Docker.
4+
5+
## Want to learn how to build this?
6+
7+
Check out the [post](https://testdriven.io/blog/django-and-celery/).
8+
9+
## Want to use this project?
10+
11+
Spin up the containers:
12+
13+
```sh
14+
$ docker-compose up -d --build
15+
```
16+
17+
Open your browser to http://localhost:1337 to view the app or to http://localhost:5555 to view the Flower dashboard.
18+
19+
Trigger a new task:
20+
21+
```sh
22+
$ curl -F type=0 http://localhost:1337/tasks/
23+
```
24+
25+
Check the status:
26+
27+
```sh
28+
$ curl http://localhost:1337/tasks/<TASK_ID>/
29+
```

0 commit comments

Comments
 (0)