created a simple sample

This commit is contained in:
Andreas Stephanides
2020-02-13 18:44:50 +01:00
commit e7deab6430
15 changed files with 255 additions and 0 deletions

9
run.py Normal file
View File

@@ -0,0 +1,9 @@
from simple_sample import app,freezer
import sys
if __name__ == "__main__":
if len(sys.argv) > 1 and sys.argv[1] == "build":
freezer.freeze()
else:
app.run(host='0.0.0.0',port=4444, debug=True)