From 3d34fa312f3b9dbf44b5958af1f30aeb02e00bb8 Mon Sep 17 00:00:00 2001 From: Joachim Hummel Date: Fri, 6 Jan 2017 12:08:07 +0100 Subject: [PATCH] Update README.md Installation Instruction added --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 22fe18a..0e742d8 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,17 @@ sudo python setup.py install

sudo apt-get install python-mysqldb

+
+Insert the required database parameter in "scheduler.py" for WordPress Plugin
+databaseUsername="XXXXX"
+databasePassword="XXXXX"
+databaseName="XXXXX" #do not change unless you named the Wordpress database with some other name
+databaseHost="www.xxx.de"
+Install the WordPress Plugin
+
+Start "./scheduler.py" manually and check if there any errors.
+
+vi /etc/cron.d/weather
+*/15 * * * * pi /home/pi/myweather/scheduler.py > /dev/null
+
+Demo: http://blog.joachimhummel.de/category/wetter