From 5b8282935f0f25160357f6987bbace1ada880fa1 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Fri, 18 Dec 2015 10:59:24 +0100 Subject: [PATCH] added project stubs --- api/app.py | 11 +++++++++++ api/requirements.txt | 1 + configurator/app.py | 11 +++++++++++ configurator/requirements.txt | 1 + controller/controller.py | 1 + ui/web/index.html | 1 + 6 files changed, 26 insertions(+) create mode 100644 api/app.py create mode 100644 api/requirements.txt create mode 100644 configurator/app.py create mode 100644 configurator/requirements.txt create mode 100644 controller/controller.py create mode 100644 ui/web/index.html diff --git a/api/app.py b/api/app.py new file mode 100644 index 0000000..18a7b9a --- /dev/null +++ b/api/app.py @@ -0,0 +1,11 @@ +#!flask/bin/python +from flask import Flask + +app = Flask(__name__) + +@app.route('/') +def index(): + return "Hello, TFM!" + +if __name__ == '__main__': + app.run(debug=True) diff --git a/api/requirements.txt b/api/requirements.txt new file mode 100644 index 0000000..632a1ef --- /dev/null +++ b/api/requirements.txt @@ -0,0 +1 @@ +Flask==0.10.1 diff --git a/configurator/app.py b/configurator/app.py new file mode 100644 index 0000000..18a7b9a --- /dev/null +++ b/configurator/app.py @@ -0,0 +1,11 @@ +#!flask/bin/python +from flask import Flask + +app = Flask(__name__) + +@app.route('/') +def index(): + return "Hello, TFM!" + +if __name__ == '__main__': + app.run(debug=True) diff --git a/configurator/requirements.txt b/configurator/requirements.txt new file mode 100644 index 0000000..632a1ef --- /dev/null +++ b/configurator/requirements.txt @@ -0,0 +1 @@ +Flask==0.10.1 diff --git a/controller/controller.py b/controller/controller.py new file mode 100644 index 0000000..6c46eb0 --- /dev/null +++ b/controller/controller.py @@ -0,0 +1 @@ +print("Hello TFM!") diff --git a/ui/web/index.html b/ui/web/index.html new file mode 100644 index 0000000..9307fff --- /dev/null +++ b/ui/web/index.html @@ -0,0 +1 @@ +Hello TFM!