diff options
author | Linnnus <[email protected]> | 2024-03-20 14:53:29 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2024-03-20 14:53:29 +0100 |
commit | c6ad9af921c23217eec6bef568b09ce9e2a4b194 (patch) | |
tree | ce2dd3b86beddac48900d51240659932205059ed |
Initial commit
-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 |