Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomas-maurice/testcelery
Dummy Django app which uses celery to send emails via GMail
https://github.com/thomas-maurice/testcelery
Last synced: 5 days ago
JSON representation
Dummy Django app which uses celery to send emails via GMail
- Host: GitHub
- URL: https://github.com/thomas-maurice/testcelery
- Owner: thomas-maurice
- Created: 2014-08-05T11:51:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-05T12:20:57.000Z (over 10 years ago)
- Last Synced: 2023-05-17T20:50:19.475Z (over 1 year ago)
- Language: Python
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
testcelery
==========Dummy Django app which uses celery to send emails via GMail
# What ?
This is just to demonstrate how to do it, it is not an actual app. The
destination mail is fixed please make sure you edit it before firing
emails at people ;)# Deploying
First edit the following files :
* testcelery/settings.py : Change the email settings accordingly
* mail/tasks.py : Change the destination email accrdingly# Virtualenv
Then create some virtualenv and install the requirements via `pip install -r requirements.txt`# Run the Django app
run `python manage.py runserver`# Run Celery
run `python manage.py celery worker`# Enjoy!
Just go to 0.0.0.0:8000 and you should see `woot :)` which will
indicate that the email had been sent to the specified adress :)For further configuration refer to the Celery documentation !