Adding a field to the profile: Difference between revisions

Content added Content deleted
No edit summary
Line 17: Line 17:
== Getting the source ==
== Getting the source ==


You'll need a local, running version of the OpenHatch code. To get that, read the [[Getting started with the OpenHatch code]] page.
All the sample code in this walkthrough refers to version '''f69d180''' of the OpenHatch source. To make sure the code is in line with what you expect, follow the instructions on the [[getting started with the OpenHatch code]] page. But right after you do the "git clone", do these commands:

$ git checkout f69d180 # Switch to that revision
$ git branch tutorial # Create a branch called tutorial that points at that revision
$ git checkout tutorial # Switch into that branch.

Here's how you can check that it worked:

$ git log -1
commit f69d1801bad777b8bd495d166433879c21500069
Author: Asheesh Laroia <asheesh@openhatch.org>
Date: Wed Nov 17 17:26:44 2010 -0500
profile/models.py: Remove unused field.
$ git branch
master
* tutorial
$

So far, so good? Let's dive in. (If not, [[chat with us on IRC]]!)