Boston Python Workshop/Friday handout/OS X 10.6 or 10.5: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Paulproteus
No edit summary
imported>Paulproteus
Line 3: Line 3:
It's an insult in British English, but git is also an awesome version control tool. Here's how you install it:
It's an insult in British English, but git is also an awesome version control tool. Here's how you install it:


Go to [http://code.google.com/p/git-osx-installer/downloads/list?can=3&q=&sort=-uploaded&colspec=Filename+Summary+Uploaded+Size+DownloadCount this page on google code] and download the latest file ending in "-intel-leopard.dmg" (1.7.2.3 as of this writing). '''If you're at a workshop and you need this file, please ask a volunteer - we might have it on a thumb drive, and that'd save you a bunch of time downloading.''' Once it's downloaded, double click to open. You'll see something like this:
Go to [http://code.google.com/p/git-osx-installer/downloads/list?can=3&q=&sort=-uploaded&colspec=Filename+Summary+Uploaded+Size+DownloadCount this page on google code] and download the latest file ending in "-x86_64-leopard.dmg" (1.7.2.3 as of this writing). '''If you're at a workshop and you need this file, please ask a volunteer - we might have it on a thumb drive, and that'd save you a bunch of time downloading.''' Once it's downloaded, double click to open. You'll see something like this:
<center>
<center>
[[File:Git-screenshot.png]]
[[File:Git-screenshot.png]]

Revision as of 22:56, 1 March 2011

Install git

It's an insult in British English, but git is also an awesome version control tool. Here's how you install it:

Go to this page on google code and download the latest file ending in "-x86_64-leopard.dmg" (1.7.2.3 as of this writing). If you're at a workshop and you need this file, please ask a volunteer - we might have it on a thumb drive, and that'd save you a bunch of time downloading. Once it's downloaded, double click to open. You'll see something like this:

File:Git-screenshot.png

Double-click the .pkg file to install. Once that's done, close all your open Terminal windows, and open a new one. Cut and paste the following into the new Terminal window:

    git --version

It should respond with something like "git version 1.7.2.3".

Tell git who you are

  • Open up a new Terminal window.
  • git config --global user.name "Your Actual Name"
  • git config --global user.email "Your Actual Email" (Must be same email you use to sign up for Heroku [see below]. Also must be accessible from the workshop.)

If this doesn't produce an error, congratulations! You have a successful install of git and you can move on to the next section.

Django

  • Open a Terminal and type:
cd /tmp/
wget http://www.djangoproject.com/download/1.2.5/tarball/
cd Django-1.2.5
sudo python setup.py install