django-micro icon indicating copy to clipboard operation
django-micro copied to clipboard

This works serverless with zappa

Open Bartvds opened this issue 8 years ago • 0 comments

We're running a django-micro app serverless on AWS Lambda using Zappa 👍

Only things needed was to use "app.application" as app_function WSGI function and to not specify a django_settings module in zappa_config.json; and then apply the sys.path import fix from django_zappa.py.

It also runs fine without database by disabling all database related apps and functionality.

This is a pretty neat way to run lightweight services while keeping commonality with our existing full fat Django apps and dependencies!

FYI 😉

Bartvds avatar Aug 23 '17 14:08 Bartvds