Implemented basic webservice (hello-world style)

pull/1/head
mandlm 2018-10-28 22:49:15 +01:00
parent 1a6fe9c87b
commit 029d857b94
2 changed files with 13 additions and 0 deletions

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
Flask==1.0.2

12
slider.py Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/python3
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello slider"
if __name__ == "__main__":
app.run()