Hi! So CS-everything n00b that somehow convinced my boss to let me facilitate our Library’s first Girls Who Code club. The girls have to collab on a “CS Impact Project” during the club sessions and they chose to do a website. The curriculum has the girls do projects in Glitch, so I decided this would be a great place for the girls build their first website on. We spent most of last week talking about “Version Control” and why it matters, especially for teams and I’ve been trying (and failing) to figure out how to connect a Glitch website to a GitHub repo and get them all on working together in an organized way.
I’ve been following the readme step by step in my “test” remix of the Glitch <> Github Sync by @Gareth, but I’ve highlighted here in orangeish where I start experiencing issues and then in red where I’m just completely stuck and don’t really know what I’m looking at.
I think that the piece you’re missing is that you’ve to use the Glitch Console, that you can open in Project Menu -> Advanced Options -> Open Console. Try running the commands in the steps you highlighted from there In particular, youc an create the post-commit hook using nano.
@etamponi is there a browser-based version of Nano? I’m on my work computer and will have to get permission from our IT department to download software which may take a couple days.
Nano is available in the Glitch console, just type nano filename.ext where filename.ext is the name of the file you want to edit. In this case it’ll be post-commit in the .git/hooks directory, or if it doesn’t already exist, just nano when you’re in that directory and you can create a new file with the content suggested in the readme.
hah, it’s ok! I’ve been trying to get some stuff out the way so I can write some clearer instructions for you, so if you don’t make any progress let me know and I’ll get to it.