make server and client

This commit is contained in:
Maxime Bloch 2019-09-20 14:27:07 +02:00
parent af7f71e109
commit a3d1d44bb3
No known key found for this signature in database
GPG key ID: CE32A7D95B7D6418
2 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,4 @@
from flask import Flask
from flask import Flask,render_template
import datetime
app = Flask(__name__)
@ -21,7 +21,7 @@ db = {
@app.route("/")
def index():
return "Okay"
return render_template("index.html")
@app.route("/start_run/<run_index>")
def start_run(run_index):

7
watcher/index.html Normal file
View file

@ -0,0 +1,7 @@
<html>
<head>
</head>
<body>
<h1></h1>
</body>
</html>