Hello all! I'm brand new to Github and Raspberry Pi so please be patient with me. I want to build a clock for my husband for our first anniversary but I'm really struggling. I'm following the instructions from this article and I've completed most of the steps. I think the thing I'm tripping up on is what the author means when they say "url.to.your.clock.setup needs to be the address of the site running the code cloned from GitHub, obviously." I don't know how to run the code from my project on Gitub. I replaced the URL with the link from the repository but all it pulls up on the Raspberry Pi is the actual repository page instead of the clock. Here's the link to the whole project/repository: https://github.com/macook29/Weather-Clock.git
If anyone can provide step-by-step instructions on how to make this clock work, you would be saving me a lot of time! Again, I'm brand new to all of this, so the simpler the instructions the better. Thanks so much!
I'm not sure I can give you simple instructions, because as far as I can tell, this isn't a simple project.
"url.to.your.clock.setup needs to be the address of the site running the code
cloned from GitHub, obviously."
is not "obvious" to me at all. Re-reading things a few times, I started to grok that to run the project you need to have a web server which runs the code cloned from github. The URL he refers to is the URL to that web site.
He mentions that the same Raspberry Pi could be that web server, and that requires installing Apache and PHP. The "original article" has a little more information about that. Otherwise I believe it requires a web server somewhere else which runs PHP and the "code from github". Unless you know how to do those things, I don't think it's "simple". That's just me - maybe someone else here can describe "simple" steps for that?
An alternative might be to have the Raspberry Pi make the request to OpenWeatherMap directly, without going through these web server / PHP hoops. I'm not sure off-hand if that is easier for you.
Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!