Clone from Github
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Clone from Github

by dnorris011 on Mon Feb 11, 2013 10:44 am

I am trying to git the I2C library from github, but it asks for user name/password. I entered my Adafruit forum name to no avail. Please help.
dnorris011
 
Posts: 4
Joined: Sun Oct 14, 2012 12:11 pm

Re: Clone from Github

by adafruit_support_bill on Mon Feb 11, 2013 11:23 am

Clone is for developers working on the code. To just get a copy to use. click on the "zip" button.
User avatar
adafruit_support_bill
 
Posts: 29601
Joined: Sat Feb 07, 2009 9:11 am

Re: Clone from Github

by dnorris011 on Mon Feb 11, 2013 11:41 am

Thanks, I was just following Kevin Townsend's tutorial in the 16 channel I2C board writeup. He might want to change it.
dnorris011
 
Posts: 4
Joined: Sun Oct 14, 2012 12:11 pm

Re: Clone from Github

by dnorris011 on Mon Feb 11, 2013 12:23 pm

OK, I am officially frustrated. There is no zip button. I was following the exact instructions that appear in multiple tutorials regarding downloading the code. And yes, I am a developer.

Has something been changed on the website? I am looking at screen shots from tutorials where the exact commandline I typed allows direct access to the repository.
dnorris011
 
Posts: 4
Joined: Sun Oct 14, 2012 12:11 pm

Re: Clone from Github

by adafruit_support_bill on Mon Feb 11, 2013 12:44 pm

It should be just to the right of the "clone" button:
Image

If you want to use the "Clone" button, you need to create a Github account.
User avatar
adafruit_support_bill
 
Posts: 29601
Joined: Sat Feb 07, 2009 9:11 am

Re: Clone from Github

by tldr on Mon Feb 11, 2013 1:09 pm

the instructions in the tutorial are for the command line. adafruit support is referring to accessing via the web.

type

Code: Select all | TOGGLE FULL SIZE
git clone https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git


at the command line on your pi. to get to a command line interface, if you're running the gui, startt up LXTerminal or type ctl-alt-F1 to get a console screen.
"If I had known it was harmless, I would have killed it myself." - Phillip K. Dick, A Scanner Darkly
User avatar
tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 12:34 am