Base on app-engine-starter but works outside google app engine
Python HTML JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
models
services
static
templates
tests
web
.gitignore
README.md
config.py
requirements.txt
routes.py
wsgi.py

README.md

webapp2-starter

This is base on my app-engine-starter but works outside google app engine. Also note that I changed main.py to wsgi.py and made the application variable so it works with appfog.

Summary of things::

lib/ - will hold your custom libraries, thirdparty libraries usually just go on root folder
models/ - all your endpoint messages and datastore models here
services/ - web services like cloud endpoints or your custom jsonrpc services
static/ - js/css/images and all other static files (templates for js html)
templates/ - jinja2 templates goes here
web/ - webpage handlers
tests/ - unit testing tests goes here
config.py - any configurable things on your project to easily edit later when you adjust things
routes.py - all your routing needs for your url mapping to webpage handlers

Note that this is just a guideline, following it will just make life things easier when your app grows to hundreds of files.