Personal tools

Difference between revisions of "Installation"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
m (Installation)
m (Upgrade PVLng frontend)
Line 25: Line 25:
 
[[Category:Software]]
 
[[Category:Software]]
  
== Upgrade PVLng frontend ==
+
== Upgrade ==
 
+
=== PVLng frontend ===
 
Your can upgrade your installation at any time with
 
Your can upgrade your installation at any time with
  
Line 34: Line 34:
 
* Checkout the lastest changes from GitHub
 
* Checkout the lastest changes from GitHub
 
* Apply outstanding database patches if any
 
* Apply outstanding database patches if any
 +
 +
=== PVLng scripts ===
 +
 +
Just pull the latest changes from GitHub
 +
git checkout master
 +
or
 +
git checkout develop
 +
and
 +
git pull

Revision as of 21:20, 6 August 2016

Software requirements

  • Operating system with support of periodic job scheduling (for example *nix with cron)
  • MySQL ≥ 5.1 (supports table partitions, views, trigger, functions, procedures and events)
  • PHP ≥ 5.3
  • Web server with PHP support, tested with Nginx (recommended), Apache and Litespeed

See also these hints for details!

Hardware requirements

  • A server, which fits the software requirements :-)
    A Raspberry B with a 4 GB SD card works fine for me as scripts server connected to a central frontend/API sever.
  • Some sensors, like 1-Wire sensors, watt meters with S0 or D0 outputs
  • Solar inverter which supports either

Installation

The system is devided into 2 repositories, the PVLng core repo with web frontend and API and the PVLng-Scripts repo with the data aquisition and extraction scripts.

Upgrade

PVLng frontend

Your can upgrade your installation at any time with

tools/upgrade.git <branch>

This works with master and develop

  • Checkout the lastest changes from GitHub
  • Apply outstanding database patches if any

PVLng scripts

Just pull the latest changes from GitHub

git checkout master

or

git checkout develop

and

git pull