install script

This commit is contained in:
andis
2017-04-15 22:49:52 +02:00
parent 539646fd37
commit 53c695deb6
3 changed files with 35 additions and 0 deletions

9
_parent_files/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)