Skip to content

kleopatra999/webapp2-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Base on app-engine-starter but works outside google app engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published