A Modern-Looking Weather Slide for DDS
"Because anything is better than desktops showing The Weather Channel's mobile layout"
Dependencies:
-
Web Server (e.g. Apache)
-
PHP
Usage:
3 Easy Steps:
-
Clone Repo (you probably want to do this into an http-accessible folder)
-
Create a
config.php
file and set$GLOBALS['API-KEY']
to your WeatherUnderground API key. Feel free to ask Philip for his for you to use. -
Recieve Weather
Copyright Northeastern University CCIS Crew 2014
For licensing, see dds-client.
###TROUBLESHOOTING
The weather page has the wrong dates!
Assuming you've already double-checked that your API key is in the right spot, check the top of the page for any whitespace. If there is any, try highlighting it to see if there is any text up there. If you see something about "Permission Denied" and "jsonResponse.txt", the issue can probably be fixed by doing the following:
-
Open a terminal and type
ps -axu | grep apache
(or whatever server you're running). At the far left, you should see things likeroot
and your username. You should also see something likewww-data
. Whatever it is, put it wherewww-data
is below. -
Run the following:
sudo chown -R www-data /path/to/dds-weather
-
Refresh the page and see if the problem persists. If it does, file a ticket.