|John-Mark Gurney fdbe40fee2||7 months ago|
|root||7 months ago|
|solardash||7 months ago|
|.gitignore||7 months ago|
|LICENSE.txt||9 months ago|
|Makefile||7 months ago|
|NOTES.md||7 months ago|
|README.md||7 months ago|
|cmds.txt||7 months ago|
|fakedata.py||7 months ago|
|requirements.txt||9 months ago|
|setup.py||7 months ago|
This is a solar dashboard for displaying information about a solar install.
Running the program first involves setting up the environment via the
make env. This will setup a Python virtual environment and
install the necessary pacakages.
Once the environment is setup, it can be configured by XXX.
To run the webserver, run the command
make run, and that will launch
a local webserver.
The front end is located in root. The meat of the logic is in
js/solardash.base.js. The testing infrastructure is in
js/solardash.file.jspp as if you are launching the page from a file
url, there is no way to make a url to access the backend.
Make sure that the environment is setup with the
make env command
before running the following commands.
For testing the frontend, if you have a window running the command
make keepupdate running, when you edit various files, things will
automatically be regenerated as necessary.
For testing the backend, have a window running the command
This will automaticaly run the various tests for the backend, and
provide code coverage results.