- Deploy to AWS Lambda with
zappa deploy devand ensure that theremote_env.jsonat thes3path given in the settings contains the correct db credentials. - Deploy locally by running the
app.py. Be sure to provide a Postgres instance to talk to, and pass the credentials via the environment, f.ex:PG_CREDS=postgresql://user:pass@host:port/database python app.pyand visit127.0.0.1:5000
Run locally after installing Python 3.6 (Zappa doesn't currently support higher than that) by simply running app.py