From c6ad9af921c23217eec6bef568b09ce9e2a4b194 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Wed, 20 Mar 2024 14:53:29 +0100 Subject: Initial commit --- app.py | 9 +++++++++ requirements.txt | 1 + 2 files changed, 10 insertions(+) create mode 100644 app.py create mode 100644 requirements.txt diff --git a/app.py b/app.py new file mode 100644 index 0000000..20932a8 --- /dev/null +++ b/app.py @@ -0,0 +1,9 @@ +from bottle import Bottle, run + +app = Bottle() + +@app.route('/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 -- cgit v1.2.3