July 2019
Beginner to intermediate
302 pages
9h 38m
English
There are a few conventions that need to be followed in order to deploy using Beanstalk. It assumes that there will be a file called application.py, which contains the application object (in our case, the app object). Beanstalk treats this file as the WSGI file, and this is used for deployment. Let's get started.
from my_app import app as application import sys, logging logging.basicConfig(stream ...