From 75318b5b3579794c9e596657f3600c3e4bf5f67f Mon Sep 17 00:00:00 2001 From: Felix Pankratz Date: Sat, 29 Feb 2020 15:38:23 +0100 Subject: [PATCH] basic structure --- .gitignore | 2 ++ homepage.py | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .gitignore create mode 100644 homepage.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..93526df --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +venv/ +__pycache__/ diff --git a/homepage.py b/homepage.py new file mode 100644 index 0000000..888e994 --- /dev/null +++ b/homepage.py @@ -0,0 +1,23 @@ +from flask import Flask +app = Flask(__name__) + +@app.route('/') +def index(): + return 'Index Page' + +@app.route('/projects') +def projects(): + return 'My Projects' + +@app.route('/monitoring') +def monitoring(): + return 'link to monitoring' + + +@app.route('/disclaimer') +def disclaimer(): + return 'disclaimer' + + + +