mikemountain / nfl-led-scoreboard

NFL LED scoreboard! This project can display live scores of your favourite football teams!
GNU General Public License v3.0
100 stars 29 forks source link

Update Commands #32

Open xTrackstar04x opened 3 years ago

xTrackstar04x commented 3 years ago

Can you put what commands need to be run to update the NFL scoreboard in the readme?

mikemountain commented 3 years ago

Hey, so if you're talking about the rotating game feature, it's not in the main branch yet as it's still in testing, but I can post here how to run off that test branch:

  1. run git stash in the directory where you have the NFL scoreboard running
  2. run git fetch
  3. run git checkout f/rotate-games
  4. run cp config.json.example config.json
  5. run nano config.json
  6. edit in your favourite team(s) in the preferred teams field
  7. run the board as normal with sudo python main.py and whatever args you use after
mikemountain commented 3 years ago

also, if things are breaking, periodically try running git pull to see if I've fixed them because things will almost certainly be breaking.

xTrackstar04x commented 3 years ago

this is what I am getting when I run git stash and git fetch

pi@raspberrypi:~/nfl-led-scoreboard $ git stash
No local changes to save
pi@raspberrypi:~/nfl-led-scoreboard $ git fetch
error: cannot open .git/FETCH_HEAD: Permission denied
mikemountain commented 3 years ago

Running sudo chown -R $(whoami) .git/ should fix that, try that and re-run git fetch

xTrackstar04x commented 3 years ago

That worked! Thanks.

When I ran git fetch it came back with 3 new branches. Should I also run git checkout on the other 2 branches?

 820e343..8f324fa  master             -> origin/master
 * [new branch]      b/fix-pre-post-game-transition-states -> origin/b/fix-pre-post-game-transition-states
 * [new branch]      b/show-game-hotfix -> origin/b/show-game-hotfix
 * [new branch]      f/rotate-games     -> origin/f/rotate-games
pi@raspberrypi:~/nfl-led-scoreboard $ git checkout f/rotate-games
mikemountain commented 3 years ago

Nope, running git checkout essentially switches all the files to a certain state. So the files in f/rotate-games won't match the files in master. Just as a heads up, there are still a decent amount of bugs in the f/rotate-games branch, so expect things to fail tomorrow - and if they do fail, wait about 10 mins and try running git pull to see if I've pushed an update

xTrackstar04x commented 3 years ago

10-4. I'll let you know if I find anything as well

xTrackstar04x commented 3 years ago

The board is not rotating for me. Any ideas?

mikemountain commented 3 years ago

Can you post your config?

On Sun., Sep. 12, 2021, 5:58 p.m. xTrackstar04x, @.***> wrote:

The board is not rotating for me. Any ideas?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mikemountain/nfl-led-scoreboard/issues/32#issuecomment-917717596, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY2XVSWB4MHJ5ESWQ3PCFLUBUPAZANCNFSM5DYCBXKQ .

xTrackstar04x commented 3 years ago

image

WashCaps33 commented 3 years ago

I keep getting this. No idea what to do to resolve it.

Sent from my iPhone

On Sep 12, 2021, at 6:04 PM, xTrackstar04x @.***> wrote:



— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

WashCaps33 commented 3 years ago

Any reason I would get an error when trying to run git fetch?

Sent from my iPhone

On Sep 9, 2021, at 7:03 PM, Michael Milton @.***> wrote:

 Hey, so if you're talking about the rotating game feature, it's not in the main branch yet as it's still in testing, but I can post here how to run off that test branch:

run git stash in the directory where you have the NFL scoreboard running run git fetch run git checkout f/rotate-games run cp config.json.example config.json run nano config.json edit in your favourite team(s) in the preferred teams field run the board as normal with sudo python main.py and whatever args you use after — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mikemountain commented 3 years ago

@WashCaps33 I can't help without any info on what error you're getting, but since this is an experimental branch that's still likely to run into bugs, hold off until I merge it into the main code (should be tomorrow) and then we'll go from there

WashCaps33 commented 3 years ago

Got it. Thanks.

Sent from my iPhone

On Sep 13, 2021, at 2:49 PM, Michael Milton @.***> wrote:

 @WashCaps33 I can't help without any info on what error you're getting, but since this is an experimental branch that's still likely to run into bugs, hold off until I merge it into the main code (should be tomorrow) and then we'll go from there

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.