What's up with mysite: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Paulproteus
(Created page with '{{Hacking OpenHatch}} If you download the OpenHatch code, you'll notice all of our code is in a directory called mysite. Did you ever wonder why? It's simple: it's one of the f…')
 
imported>Paulproteus
No edit summary
 
Line 7: Line 7:
$ django-admin.py startproject mysite
$ django-admin.py startproject mysite


So that's what I did. Then we started committing things, and we ended up with a website.
So that's what I did. Then we kept committing code to it, and we ended up with a website.


In fact, until October 2010, the git repository was called "milestone-a". That's because this was just the first milestone. We knew we'd [http://c2.com/cgi-bin/wiki?PlanToThrowOneAway probably throw away the code in this repository] and start fresh again with a different repository.
In fact, until October 2010, the git repository was called "milestone-a". That's because this was just the first milestone. We knew we'd [http://c2.com/cgi-bin/wiki?PlanToThrowOneAway probably throw away the code in this repository] and start fresh again with a different repository.

Latest revision as of 01:42, 18 November 2010

This is a page about improving or modifying OpenHatch.

We call that "Hacking OpenHatch," and there is a whole category of pages about that.


If you download the OpenHatch code, you'll notice all of our code is in a directory called mysite. Did you ever wonder why?

It's simple: it's one of the first things thing we ever made using Django. One day in 2009, I read the official Django documentation and followed the tutorial. The first tutorial page suggests you run this command:

$ django-admin.py startproject mysite

So that's what I did. Then we kept committing code to it, and we ended up with a website.

In fact, until October 2010, the git repository was called "milestone-a". That's because this was just the first milestone. We knew we'd probably throw away the code in this repository and start fresh again with a different repository.