influx_stats/influx_frontend.py
2016-12-06 07:46:40 -05:00

17 lines
279 B
Python

from flask import Flask
app = Flask(__name__)
from influxdb import InfluxDBClient
def db_main(host='localhost', port=8086):
user = 'root'
password = 'root'
dbname = 'gas'
@app.route('/')
def main_page():
return 'Hello influxers!'
app.run(debug=True)