Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.02 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.02 KB

AirToday

A web app to alert the users daily through email/sms about air quality in/around their area :)

Screenshots

screenshot from 2018-02-15 18-27-45

screenshot from 2018-02-15 18-28-35

Note

Create a credentials.py file inside AirToday folder with following content.

AIRPOLLUTION_APPID = APP ID given by api.airpollutionapi.com
AIRPOLLUTION_APPURL = 'http://api.airpollutionapi.com/1.0/aqi'
EMAIL_HOST = 'smtp.sendgrid.net'
EMAIL_HOST_USER = Sendgrid API Key ID
EMAIL_HOST_PASSWORD = Sendgrid API Key
EMAIL_PORT = 587
EMAIL_USE_TLS = True
ADMIN_EMAIL = Admin Email Address
TWILIO_ACC = Twilio Account Key
TWILIO_TOKEN = Twilio Account Token
TWILIO_PHONE = Twilio Phone Number
GOOGLEAPIKEY = Google Map API key
TEMP_IP = A temporary ip address to run on localhost