nfl-led-scoreboard icon indicating copy to clipboard operation
nfl-led-scoreboard copied to clipboard

Update Commands

Open xTrackstar04x opened this issue 4 years ago • 14 comments

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

xTrackstar04x avatar Sep 09 '21 22:09 xTrackstar04x

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 avatar Sep 09 '21 23:09 mikemountain

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

mikemountain avatar Sep 09 '21 23:09 mikemountain

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

xTrackstar04x avatar Sep 10 '21 15:09 xTrackstar04x

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

mikemountain avatar Sep 10 '21 15:09 mikemountain

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

xTrackstar04x avatar Sep 10 '21 15:09 xTrackstar04x

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

mikemountain avatar Sep 10 '21 15:09 mikemountain

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

xTrackstar04x avatar Sep 10 '21 15:09 xTrackstar04x

The board is not rotating for me. Any ideas?

xTrackstar04x avatar Sep 12 '21 21:09 xTrackstar04x

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 .

mikemountain avatar Sep 12 '21 22:09 mikemountain

image

xTrackstar04x avatar Sep 12 '21 22:09 xTrackstar04x

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 avatar Sep 12 '21 22:09 WashCaps33

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.

WashCaps33 avatar Sep 13 '21 16:09 WashCaps33

@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

mikemountain avatar Sep 13 '21 18:09 mikemountain

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.

WashCaps33 avatar Sep 13 '21 19:09 WashCaps33