Closed Bug 778373 Opened 12 years ago Closed 12 years ago

finish scaffolding for codebase

Categories

(Input :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: mythmon)

References

Details

(Whiteboard: u=dev c=infrastructure p=2 s=2012.15)

We have code at https://github.com/mozilla/fjord

I started fixing things so that it ran, but didn't finish. The following things need to be done:

1. docs/hacking_howto.rst needs to be revised based on the existing codebase

2. need to fix whatever is blocking us from doing "python manage.py runserver" and getting a home page of some flavor (this might already work)

3. need to fix whatever is blocking us from running tests (this might already work)

4. read through the playdoh docs and do whatever else we need to do to finish up the scaffolding
Putting this in the 2012.15 sprint and making it a 2 pointer because I think it'll take about a day.
Whiteboard: u=dev c=infrastructure p=2 s=2012.15
Grabbing this.
Assignee: nobody → mcooper
1. Some work has been done on docs/hacking_howto.rst. Mostly just changing to the new way of doing settings in playdough.

2. runserver works for me, after setting up depdencies and settings.

3. Ditto for tests.

4. I read through everything at http://playdoh.readthedocs.org/en/latest/index.html, which kind of left something to be desired as far as working with playdough. More research needs done.

Other things to work on: 

* Migrations. Should we use Schematic (used by kitsune) or South (native to playdough).
* If we are going to be using any of Redis, Memcached, ES, or other settings.py related projects, the docs and the default settings/local.py-dist need to reflect this.
(In reply to Mike Cooper [:mythmon] from comment #3)
> * Migrations. Should we use Schematic (used by kitsune) or South (native to
> playdough).

Oh please use South. The tagline/description for schematic is "possibly the worst database version control system ever." (To be fair, I may have written a worse one: it's in PHP and you don't write SQL!)
(In reply to James Socol [:jsocol, :james] from comment #4)
> (In reply to Mike Cooper [:mythmon] from comment #3)
> > * Migrations. Should we use Schematic (used by kitsune) or South (native to
> > playdough).
> 
> Oh please use South. The tagline/description for schematic is "possibly the
> worst database version control system ever." (To be fair, I may have written
> a worse one: it's in PHP and you don't write SQL!)

That works for me, though I don't think schematic is that bad.

Just to put this out there (Mike may know all this already), as far as I can tell, playdoh-lib does have schematic and does not have South so we'll have to add South in vendor-local/ . We'll have to add some docs for initializing south and I'm fairly sure that requires an initial migration, too.
Discussed at: https://github.com/mozilla/fjord/pull/1

Landed in: https://github.com/mozilla/fjord/commit/789f9d6a15a1c3b47f501754d8a826f2b5a11c51
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.