This commit is contained in:
andis
2017-02-02 10:22:03 +01:00
parent 0a353ed4f7
commit 33fd111b0c

9
run.py Normal file
View File

@@ -0,0 +1,9 @@
from src.cont import app,freezer
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)