make server and client
This commit is contained in:
parent
af7f71e109
commit
a3d1d44bb3
2 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
from flask import Flask
|
from flask import Flask,render_template
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
@ -21,7 +21,7 @@ db = {
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def index():
|
def index():
|
||||||
return "Okay"
|
return render_template("index.html")
|
||||||
|
|
||||||
@app.route("/start_run/<run_index>")
|
@app.route("/start_run/<run_index>")
|
||||||
def start_run(run_index):
|
def start_run(run_index):
|
7
watcher/index.html
Normal file
7
watcher/index.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1></h1>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue