A Raspberry Pi based, Flask powered photovoltaic monitor
Demo at http:https://solarpi.tafkas.net
To run the Solar Pi you need
- A Linux server running Python 2.7 (e.g. Raspberry Pi running Raspbian)
- SQLite3 installed
-
Clone the repostory
$ git clone [email protected]:Tafkas/solarpi.git solarpi
-
create a virtual enviroment and activate it
$ virtualenv --python=/usr/bin/python .venv $ source .venv/bin/activate
-
install dependencies
$ (.venv) pip install -r requirements/dev.txt
-
create the SQLite database
$ sqlite3 dev.db $ cat db_schema.sql | sqlite3 dev.db
-
run the server
$ (.venv) python manage.py server