Initial commit

This commit is contained in:
Alexander Hosking 2016-12-06 07:46:40 -05:00
parent 3b9935756c
commit 4a3f699597
2 changed files with 23 additions and 0 deletions

16
influx_frontend.py Normal file
View File

@ -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)

7
requirements.txt Normal file
View File

@ -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