30 lines
978 B
Markdown
30 lines
978 B
Markdown
# The GUI. Web based. Python
|
|
This folder should contain all the files related to displaying and manipulating data via the UI.
|
|
That means, everything related to the connections to the outside.
|
|
|
|
|
|
# UPDATE: a complete rewrite
|
|
By this I mean, we'll be slowly going through the whole code class by class to build a better world.
|
|
|
|
|
|
## Server
|
|
I'd say cherrypy. It is lightweight and relatively simple to use. Pure python, of course
|
|
|
|
## DB
|
|
Python calls to Influx. NOT using the influxdb library might be a good idea. We'll see.
|
|
Currently the library is being used.
|
|
|
|
## HTML
|
|
Bootstrap 3, default admin / dashboard theme
|
|
|
|
## JS graphs
|
|
[Dygraphs](http://dygraphs.com/) - so far the most flexible shit out there.
|
|
|
|
### TODO that we know of
|
|
- Absolute web path needs to be defined throughout the project (i.e. the site
|
|
path).
|
|
- Graphs share JS variables in the ./static/js files, separate them, so
|
|
each graph does get it's own time period and does not set it for the other
|
|
graphs as well.
|
|
|