nfischer / framily-tree

:beers: An interactive family tree for Theta Chi fraternity
https://nfischer.github.io/framily-tree/
MIT License
7 stars 13 forks source link

SigTauRoster relations.js #41

Closed SigTauDeltaPhi closed 6 months ago

SigTauDeltaPhi commented 6 months ago

Updates Roster

nfischer commented 6 months ago

Hey there :wave: I'm excited to see you're working on a family tree for your fraternity! Let me know if you have any questions about getting this set up for your members. https://github.com/nfischer/framily-tree/wiki/Forking-instructions should cover most of the steps, but I'm happy to answer any questions.

SigTauDeltaPhi commented 6 months ago

Hey! Yah I was trying to take on the task of making our family line documented better. I am not a programmer by any means and this was my first experience with using GitHub to make a project. I think I brute forced your code to get it to "work" but I definitely know most other things like the spreadsheet are not linked probably lol

nfischer commented 6 months ago

Just took a look at your fork and the family tree site looks cool. Nicely done! Super impressive that you have fraternity history records going back to the 90's :+1:

SigTauDeltaPhi commented 6 months ago

Thank you very much! But I am having a few problems with the google sheet linking with the website, i got around it by just inputting the JSON code from the sheet directly into the relations.js file. How would you go about fixing this probelm?

nfischer commented 6 months ago

Did you make a copy of the Google sheet? That should have a new sheet ID, so you will need to update the sheet ID in your fork of the project.

If you've got that part done but you're still having problems, then it could be API key issues. Take a look at https://github.com/revolunet/spreadsheet-to-json to make sure you've got an API key. Once you have an API key, you need to create a new file named local-api-key.txt (inside your fork of the project) and store the API key in that file.