diff options
-rw-r--r-- | app.py | 9 | ||||
-rw-r--r-- | requirements.txt | 1 |
2 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,9 @@ +from bottle import Bottle, run + +app = Bottle() + [email protected]('/hello') +def hello(): + return "Hello World!" + +run(app, host='localhost', port=8080) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..7a4121d --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +bottle==0.12.25 |