Merge pull request #1 from mandlm/feature/basic-webservice

Implemented basic webservice (hello-world style)
pull/2/head
mandlm 2018-10-28 21:48:54 +01:00 committed by GitHub
commit aefedbc4a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()