Esempio n. 1
0
#!/usr/bin/env python
"""
Executable for the Ceryx server.
"""

if __name__ == '__main__':
    from ceryx import settings
    from ceryx.api import app
    app.run(host=settings.API_BIND_HOST, port=settings.API_BIND_PORT)
Esempio n. 2
0
#!/usr/bin/env python
"""
Executable for the Ceryx server.
"""

from ceryx import settings
from ceryx.api import app

if __name__ == '__main__':

    app.run(host=settings.API_BIND_HOST, port=settings.API_BIND_PORT, debug=True)
    #app.run( host="0.0.0.0", port=80, debug=True )