Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
django_app
flask_app
README.md

README.md

Quickstart for debugging Python + AWS Lambda + Zappa

A sample application for debugging Python apps deployed in AWS Zappa using Rookout.

Before following this guide we recommend reading the basic Python + Lambda debugging guide.

This example is based on a plain Zappa app, with the following modifications applied:

  1. Set your Rookout token as an environment variable in zappa_settings.json:
{
    "dev": {
        ....
        ....,
        "aws_environment_variables" : {"ROOKOUT_TOKEN": "<token>"}
    }
}
  1. Add the rook SDK dependancy to your requirements.txt Zappa file.

  2. Add the following code in your main app code:

from rook.serverless import setup_zappa_support
setup_zappa_support()
  1. Go to app.rookout.com and start debugging!
You can’t perform that action at this time.