Adding a field to the profile: Difference between revisions

no edit summary
No edit summary
Line 1:
{{Hacking OpenHatch}}
 
= The set-up =
= Introduction and prerequisites =
 
Today, on November 17, 2010, [http://openhatch.org/people/paulproteus/ my OpenHatch profile] doesn't have a special field for my IRC nickname. When I go to edit my profile, there's no place to put it in!
In this walkthrough, we will explore the process of adding a new feature to the OpenHatch website. The change we will make will be done directly in the OpenHatch Django code. In so doing, we'll learn how to go from an idea for a top-level UI feature change, to searching and studying the code, to making and testing this change.
 
This tutorial walks you through adding that feature to the November 17, 2010 version of the OpenHatch code.
The goal of this exercise is to expose you to the techniques used by OpenHatch developers when changing the website, give you confidence in order to try similar things on your own, and expose you to some helpful techniques that you might not know about.
 
= Introduction and prerequisites ==
 
Together, we will change the OpenHatch source code, which builds on top of Django and Python. You'll see how to go all the way from a new feature idea to making and testing the change. On the way, you'll see how to search, study, and test your code.
 
The goal of this exercise is to exposeshow you to the techniquesthought usedprocess bywe OpenHatch developersuse when changing the website, give you confidence in order to try similar things on your own, and expose you to some helpful techniques that you might not know about.
 
== Skills you need ==
Line 23 ⟶ 29:
$ git checkout tutorial # Switch into that branch.
 
Here's how you can check that it worked. Run these commands in your new ''oh-mainline'' directory, and check that they have the same output as I've recorded:
 
$ git log -1 # look at the most recent commit on the current branch
Anonymous user