-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
47 lines (35 loc) · 1.8 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
INSTALLATION of WeatherOffice
=============================
This document contains a very rough installation guide of WeatherOffice. The project is at the
beginning, so you can expect much more documentation and help in further versions.
Visit http://www.sourceforge.net/projects/weatheroffice for more information
Requirements
============
Apache >= 2.0
PHP >= 4.3
mysql > 4.x
open2300 from http://open2300.sourceforge.net
Installation
============
* Be sure Apache is running and PHP is working
* Be sure mysql is running and contains an open2300 database with some weather data
* Unpack WeatherOffice to a directory accessible from your browser via your Apache installation
* Copy weatherDataInclude-dist.php to weatherDataInclude.php and edit the values at top of the file
* Copy logo-dist.html to logo.html. This page is shown in the left top corner and can contain anything you want
* Point your browser to the URL pointing to index.php of WeatherOffice. You should see the main screen showing
the last measured data as Current Values
Crontab
=============
To update statistic values once per day you can use cron. You can add a line like this to /etc/crontab:
30 0 * * * root php /srv/www/htdocs/weather/cron.php >>/tmp/weatherCron.log 2>&1
Please adjust the path to your installation of WeatherOffice. If you don't do this the statistic table
is update on calls of certain pages. This might take some time depending on your database size.
Update to 0.4
=============
* New setup values STATION_LAN, STATION_LON and longTermAverage required
* See weatherDataInclude-dist.php for the new values
Known Issues
============
* No automatic installation routine
* German and English language support only
* Some PHP warning messages when accessing some graphs via JpGraph