Browse Source

add some info to the README..

main
John-Mark Gurney 4 years ago
parent
commit
e6108fce7e
1 changed files with 26 additions and 0 deletions
  1. +26
    -0
      README.md

+ 26
- 0
README.md View File

@@ -3,6 +3,18 @@ Solar Dashboard

This is a solar dashboard for displaying information about a solar install.

Running
-------

Running the program first involves setting up the environment via the
command `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.

Structure
---------

@@ -12,3 +24,17 @@ 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.

Testing
-------

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 `make test`.
This will automaticaly run the various tests for the backend, and
provide code coverage results.

Loading…
Cancel
Save