Skip to content

Instantly share code, notes, and snippets.

@joemarct
Created April 1, 2013 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joemarct/5287182 to your computer and use it in GitHub Desktop.
Save joemarct/5287182 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import sys, os
package_dir = "packages"
package_dir_path = os.path.join(os.path.dirname(__file__), package_dir)
sys.path.insert(0, package_dir_path)
import bottle
from app import views
bottle.debug(True) # Only for debugging purposes, set to False in production
bottle.run(server='gae')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment