drchrono Birthdays is a Django app for sending emails to patients on their birthday. drchrono Birthdays integrates with drchrono to consume a user's patients through the drchrono API.
Technologies used to build this application include:
- Python 2.7
- Django 1.9
- jQuery
Additional Dependancies:
- Requests
Notes for running locally:
-
You can use your drchrono client information by setting
CLIENT_DATA
insettings.py
.CLIENT_DATA = { 'client_id': Client ID, 'client_secret': Client Secret, 'redirect_url': "http://www.yourwebsite.com/oauth" }
-
The
send_emails
command should be run daily to ensure all patients receive their birthday emails on the correct day.
Run command with:python manage.py send_emails
-
You can use an email address of your choice my setting
EMAIL
information insettings.py
. For example, for a gmail account use:EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_USER = 'youremail@gmail.com' EMAIL_HOST_PASSWORD = Email Password EMAIL_PORT = 587