Created
April 1, 2013 19:43
-
-
Save joemarct/5287182 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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