Open codyjmcb opened 1 month ago
Hey @codyjmcb , have you setup git on your raspberry PI? After some quick digging,looks like you're able to setup git on a raspberry Pi and then push files straight to this repo. Unfortunately I don't have one to self test 😅
@iiiancampbell I do have git on the raspberry pi, but i am not sure where (or how) DB info gets stored, but all of the files in Server/ are from the raspberry pi. I may instead focus on #22 and periodically save the data to a .txt for now, while I continue to investigate saving the actual data in the repo.
Additionally, I have exposed the API to the raspberry pi on 73.219.191.159:40325 , so if you wanted to poke around at the API to get a better feel for it, it should be available to you at the appropriate addresses defined in Server/public/index.php
For example GET 73.219.191.159:40325/golfers will fetch all the golfers in the database. If you are familiar with Postman, that's what I use mostly to test the API from off of the rasp pi
Currently the Database config / data exists ONLY on the raspberry pi in my room. Ideally it would get tracked by this repository so that if something catastrophic happens to the PI, I don't have to recreate the db schema.
Is this even possible?