예제 #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)
예제 #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)
예제 #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)
예제 #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)