flask centos 에서 실행하기
로컬에서는 __init__.py안에 if __name__ == "__main__": app.run(host="0.0.0.0", debug=True, port = 18989) 이렇게 넣고 실행했었는데 ..centos 안에서는 테스트용으로 실행시킬때python __init__.py로 실행이 안됨 이유 머름 __init__.py 안에 관련 내용 주석처리 하고 wsgi.py 안에 추가하니 실행이 된다이유 좀 알았으면.. from testProject import app if __name__ == "__main__": app.run(host="0.0.0.0", debug=True, port = 18989)