Getting started with the OpenHatch code (moved): Difference between revisions

no edit summary
imported>Paulproteus
imported>Paulproteus
No edit summary
Line 1:
{{Hacking OpenHatch}}
To get your own instance of OpenHatch running, follow these '''five steps''' and then get in touch with us.
 
The code is written in Python. It uses the Django toolkit and tries to stick to good software testing practices. If you have Python experience, you should be able to get hacking pretty quickly even if you don't know Django or testing.
 
== CloneHow ourto gitrun repositorya local site ==
 
=== Clone our git repository ===
 
You will need to have the ''git'' version control system installed. Once you do, type this into a terminal:
Line 10 ⟶ 12:
$ git clone git://gitorious.org/openhatch/oh-mainline.git
 
It mightwill take abetween while;7 and 15 minutes. it's kind of a big repository. (FiftySixty megabytes, or so.)
 
 
== Overview of Openhatch filesystem structure ==
 
Take a look in the LAYOUT file - oh-mainline/LAYOUT
 
It's a good overview of the filesystem.
 
You can also read it online...
 
[http://gitorious.org/openhatch/oh-mainline/blobs/master/LAYOUT http://gitorious.org/openhatch/oh-mainline/blobs/master/LAYOUT]
 
== Follow the README ==
 
The repository is called '''oh-mainline''' so you have to "cd" into it:
 
$ cd oh-mainline
 
There you'll find a [http://gitorious.org/openhatch/oh-mainline/blobs/master/README.mkd README.mkd] file. Give it a careful read.
 
$ less README.mkd
 
'''That''' is what we really keep up to date with the necessary things.
 
It contains instructions you need to follow. Go ahead and do that. I can wait.
 
 
=== RunRead theINSTALLATION.mkd testsinside ===
 
Once you have the repository, open up the INSTALLATION.mkd file in any text viewer (like ''gedit' or your favorite web browser).
We have automated tests that help us know when we've broken functionality in the OpenHatch code. Running the tests is a good way to make sure your OpenHatch environment works properly! Try this:
 
Read it, and follow the few short steps to getting your local site going..
$ ./bin/sqlite_mysite test missions
 
== Next steps ==
That runs the test suite for just the ''missions'' part of the code. It uses the sqlite-based test runner so it runs fast; the real website uses MySQL, not SQLite, but you'll discover that tests run about 10 times faster in the sqlite runner.
 
=== Get in touch ===
 
TheWe fifthreally ''mandatory''recommend stepthat is toyou get in touch with us. (Okay,It's not quite mandatory, but we'll all be happier if you do)
 
# Join the [http://lists.openhatch.org/mailman/listinfo/devel Devel mailing list] and say hello.
Line 54 ⟶ 30:
## We have weekly meetings, typically on Saturdays at 4pm EST (-5 UTC).
 
=== Read more documentation ===
 
Before you start hacking OpenHatch, we strongly advise you to watch [http://python.mirocommunity.org/video/1882/djangocon-2010-learning-a-new- Learning new codebase] talk by Justin Lilly given during [http://python.mirocommunity.org/category/djangocon-2010 DjangoCon 2010].
Line 62 ⟶ 38:
You can find things to work on by browsing our [http://openhatch.org/bugs/ bug tracker] or asking us!
 
=== Start contributing patches! ===
 
We mark issues that are particularly good for new contributors with the "bitesize" keyword on our bug tracker. You can find the open easy issues [https://openhatch.org/bugs/issue?@columns=title,id,activity,status,assignedto&@sort=activity&@group=priority&@filter=status,keyword&@pagesize=50&@startwith=0&status=-1,1,2,3,4,5,6,7,9,10&keyword=1&@dispname=bitesized here].
Anonymous user