Solar Array and home energy dashboard.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.2 KiB

4 years ago
12345678910111213141516171819202122232425262728293031323334353637383940
  1. Solar Dashboard
  2. ===============
  3. This is a solar dashboard for displaying information about a solar install.
  4. Running
  5. -------
  6. Running the program first involves setting up the environment via the
  7. command `make env`. This will setup a Python virtual environment and
  8. install the necessary pacakages.
  9. Once the environment is setup, it can be configured by XXX.
  10. To run the webserver, run the command `make run`, and that will launch
  11. a local webserver.
  12. Structure
  13. ---------
  14. Frontend
  15. The front end is located in root. The meat of the logic is in
  16. `js/solardash.base.js`. The testing infrastructure is in
  17. `js/solardash.file.jspp` as if you are launching the page from a file
  18. url, there is no way to make a url to access the backend.
  19. Testing
  20. -------
  21. Make sure that the environment is setup with the `make env` command
  22. before running the following commands.
  23. For testing the frontend, if you have a window running the command
  24. `make keepupdate` running, when you edit various files, things will
  25. automatically be regenerated as necessary.
  26. For testing the backend, have a window running the command `make test`.
  27. This will automaticaly run the various tests for the backend, and
  28. provide code coverage results.