Tafkas / solarpi

A RaspberryPi based, Flask powered photovoltaic monitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solar Pi

A Raspberry Pi based, Flask powered photovoltaic monitor

Solar Pi Dashboar

Demo at http://solarpi.tafkas.net

Code Climate

Getting Started

Prerequisites

To run the Solar Pi you need

  • A Linux server running Python 2.7 (e.g. Raspberry Pi running Raspbian)
  • SQLite3 installed

Installation

  • Clone the repostory

      $ git clone git@github.com: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         
    

About

A RaspberryPi based, Flask powered photovoltaic monitor

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 71.4%Language:Less 18.7%Language:Python 4.5%Language:HTML 3.9%Language:CSS 1.4%Language:Mako 0.0%Language:Shell 0.0%Language:Procfile 0.0%