inital commit

This commit is contained in:
JJ Asghar 2016-04-26 17:14:44 -05:00
parent b4943f2fd6
commit 860b98d187
3 changed files with 25 additions and 0 deletions

20
main.py Normal file
View File

@ -0,0 +1,20 @@
from bottle import Bottle
app = Bottle()
# Note: We don't need to call run() since our application is embedded within
# the App Engine WSGI application server.
@app.route('/')
def hello():
"""Return a friendly HTTP greeting."""
return 'Hello World!'
# Define an handler for 404 errors.
@app.error(404)
def error_404(error):
"""Return a custom 404 error."""
return 'Sorry, nothing at this URL.'
Status API Training Shop Blog About

5
requirements.txt Normal file
View File

@ -0,0 +1,5 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
bottle==0.11.6

0
setup.py Normal file
View File