Skip to content

Commit 0257823

Browse files
committed
Move README file
1 parent 9d52ca5 commit 0257823

File tree

2 files changed

+4
-54
lines changed

2 files changed

+4
-54
lines changed

celery-async-email/source_code_final/README.md renamed to celery-async-email/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Asynchronous Tasks with Django and Celery
22

3-
Example project for tutorial update.
3+
Example project for integrating Celery and Redis into a Django application.
44

55
## Setup (macOS)
66

@@ -15,7 +15,7 @@ $ source venv/bin/activate
1515
You'll also need to install Redis on your system:
1616

1717
```sh
18-
brew install redis
18+
$ brew install redis
1919
```
2020

2121
Once you've installed all the dependencies, you need to start three processes that need to run at the same time:
@@ -29,15 +29,14 @@ To get all of them running, open three different terminal windows and start them
2929
**Django app:**
3030

3131
```sh
32-
(venv) $ python manage.py makemigrations
3332
(venv) $ python manage.py migrate
3433
(venv) $ python manage.py runserver
3534
```
3635

3736
**Redis server:**
3837

3938
```sh
40-
(venv) $ redis-server
39+
$ redis-server
4140
```
4241

4342
**Celery:**
@@ -46,4 +45,4 @@ To get all of them running, open three different terminal windows and start them
4645
(venv) $ python -m celery -A django_celery worker -l info
4746
```
4847

49-
When all three processes are running, you can head over to `localhost:8000/feedback` and submit a feedback response. Celery will simulate a work-intensive process and send an email at the end of it. You'll see the email message show up in the log stream on the terminal window where the Celery worker is running.
48+
When all three processes are running, you can go to `localhost:8000/` and submit a feedback response. Celery will simulate a work-intensive process and send an email at the end of it. You'll see the email message show up in the log stream on the terminal window where the Celery worker is running.

celery-async-email/source_code_initial/README.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)