App.yaml is app engine's way of organizing urls. It tells App Engine what blah.appspot.com/blah is mapped to and whether blah.appspot.com/blah.html
is a html file.
The header looks like this:
application: blah version: 1 runtime: python api_version: 1
Application is the name of the app that you registered. In this case it would be blah.appspot.com. Version is the version number is this case it is one. The last two you don't need to worry about if you're making an app.
There are two kinds of handlers.
- Static Files and Directories
Static files and Directories allow you to put html and jpg files in your apps. One example of this is jbillsparch
handlers: - url: '/filename.html' static_files: 'filename.html' - url: '/foldername' static_dir: 'foldername'
Scripts are the urls that python files are mapped to.
handlers: - url: /.* script: index.py