- Deploy to AWS Lambda with
zappa deploy dev
and ensure that theremote_env.json
at thes3
path 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.py
and 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