mirror of
https://github.com/ilri/csv-metadata-quality-web.git
synced 2025-04-28 01:17:42 +02:00
Add main.py
Following basic Flask on Google App Engine tutorial: https://realpython.com/python-web-applications/#build-a-basic-python-web-application
This commit is contained in:
parent
b04b441c3f
commit
2a5f612fe9
13
main.py
Normal file
13
main.py
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
from flask import Flask
|
||||||
|
|
||||||
|
|
||||||
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
@app.route("/")
|
||||||
|
def index():
|
||||||
|
|
||||||
|
return "Congratulations, it's a web app!"
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
app.run(host="127.0.0.1", port=8080, debug=True)
|
Loading…
x
Reference in New Issue
Block a user