airq-dev / hazebot

Building the 411 for air quality in the United States: a texting platform accessible to all, that provides actionable local information to protect your and your community.
https://www.hazebot.org/
MIT License
9 stars 1 forks source link

VCard Support #185

Closed ianhoffman closed 3 years ago

ianhoffman commented 3 years ago

Adds basic VCard support as described here: https://www.twilio.com/blog/send-vcard-twilio-sms

We use NGINX as a static web server to host our VCards, since Gunicorn/Flask is not design to host static content (though it would work fine, obviously. I'm just being fancy). To get this to work, I modified the docker config for development so that we run gunicorn and NGINX in dev too. This is good in general as it's nice to mimic prod as closely as possible.

I don't want to merge this down yet as we still need to talk about how the flow should work. But the pieces are all in place.

Also: we need a good logo!