diff --git a/influx_frontend.py b/influx_frontend.py new file mode 100644 index 0000000..fe89464 --- /dev/null +++ b/influx_frontend.py @@ -0,0 +1,16 @@ +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) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..11e933e --- /dev/null +++ b/requirements.txt @@ -0,0 +1,7 @@ +click==6.6 +Flask==0.11.1 +itsdangerous==0.24 +Jinja2==2.8 +MarkupSafe==0.23 +pkg-resources==0.0.0 +Werkzeug==0.11.11