test and config api
This commit is contained in:
parent
acd8604f02
commit
636ffeb318
1 changed files with 15 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
import os
|
||||
|
||||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
DEBUG = True
|
||||
PORT = 8000
|
||||
|
||||
@app.route('/')
|
||||
def hello_world():
|
||||
return 'Hello World'
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=DEBUG, port=PORT)
|
Loading…
Reference in a new issue