def main(host, port): app.run(host=host, port=port, debug=True)
from server.application import app app.run(debug=True)
import socket from server.application import app if socket.gethostname() == 'matt-griffiths': app.run(debug=True) else: app.run(debug=True, host='0.0.0.0')
# -*- coding: utf-8 -*- """ Created on Tue Sep 10 13:37:10 2019 @author: chala """ from server.application import app if __name__ == "__main__": app.run()