Exemplo n.º 1
0
def start():
    init_cassandra(app.config['DSE_CLUSTER'].split(','), app.config['KEYSPACE'])
    web.init()

    app.run(host='0.0.0.0',
            port=app.config['APPLICATION_PORT'],
            use_reloader=True,
            threaded=True)
Exemplo n.º 2
0
def start():
    init_cassandra(app.config['DSE_CLUSTER'].split(','),
                   app.config['KEYSPACE'])
    web.init()

    app.run(host='0.0.0.0',
            port=app.config['APPLICATION_PORT'],
            use_reloader=True,
            threaded=True)
Exemplo n.º 3
0
def start():
    init_cassandra(app.config['DSE_CLUSTER'].split(','),
                   app.config['DSE_KEYSPACE'], app.config['DSE_SOLR_DC'])
    app.run(host='0.0.0.0', port=5001, use_reloader=True, threaded=True)
Exemplo n.º 4
0
def start():
    init_cassandra(app.config["DSE_CLUSTER"].split(","), app.config["DSE_KEYSPACE"], app.config["DSE_SOLR_DC"])

    app.run(host="0.0.0.0", port=5002, use_reloader=True, threaded=True)