I look forward to trying it out!
Michael
On Wed, Jul 22, 2009 at 8:26 PM, Rami Kassab<ra...@typethink.com> wrote:
>
> As for local settings, we might just have the app for you. We've written a
> cool little app called, well, local_settings :) All you need to do is place
> it in your list of installed apps and then you instantly get over-writable
> settings. Simply create a python package (a folder with __init__.py) and
> create .py files named after all the hostnames of the users working on the
> project. They will automatically get loaded when a dev runs the projects on
> their machine... based on their hostname. For example, my Mac's hostname is
> 'Rami's MacBook.local' so I have a .py file within the local_settings
> directory titled 'ramis_macbook_local.py' (all special characters in the
> hostname are converted to underscores). In that file I can override whatever
> settings I want. It's really nifty and easy to use. Let me know if you guys
> want to include it and use it in the project and we'd be happy to package it
> up and send it your way. Thanks!
> --
> Rami Kassab - Chief Executive Officer
> M 503.888.8605
> ra...@typethink.com
> LinkedIn Profile
>
> Typethink - Creative Web Firm
> P 503.626.6231
> F 503.626.6233
> 111 SW 5th Ave., Suite 1000
> Portland, OR 97204
> www.typethink.com
>
> On Wed, Jul 22, 2009 at 11:18 AM, Rick Flosi <rick....@gmail.com> wrote:
>>>
>>> Any thoughts on how we should structure the repository?
>>
>> This is the structure I've been using for my django projects on
>> webfaction:
>>
>> UrbanEdibles/
>> branches/
>> tags/
>> trunk/
>> django/
>> urbanedibles/ (the django project)
>> [1 or more django apps]/
>> static/
>> css/
>> img/
>> js/
>>
>> Then I mount django/ at / on the webserver and static/ at /s/.
>> The media/ files for django will also need to be setup as well.
>>
>> I also use a settings-local.py and urls-local.py which import settings.py
>> and urls.py and then overwrite the parts needed to make it work locally. I
>> imagine people working on the django code will likely want to do something
>> similar to develop locally, but we'll probably need files like
>> settings-local-rick.py, settings-local-rflosi.py or settings-rflosi.py, ie.
>> some more personal naming scheme. Then you just use the settings file when
>> running locally.
>>
>> -r.
>>
>> On Wed, Jul 22, 2009 at 10:52 AM, Michael Bunsen <not...@gmail.com> wrote:
>>>
>>> Hey Mark,
>>>
>>> Were you able to get together any model code? I made you and Rick
>>> owners on the Google code project, so feel free to put anything there.
>>> I have no attachment to the old code or directory structure that is
>>> already there.
>>>
>>> Hey everyone else,
>>>
>>> Any thoughts on how we should structure the repository? We decided to
>>> try using Mercurial on Google code.
>>>
>>> Michael
>>>
>>>
>>>
>>> On Fri, Jul 17, 2009 at 11:42 PM, Rick Flosi<rick....@gmail.com> wrote:
>>> > Sounds good. -r.
>>> >
>>> > Sent from my iPhone
>>> >
>>> > On Jul 17, 2009, at 7:41 PM, mark gross <mark...@gmail.com> wrote:
>>> >
>>> >> I think we have a good start. I'll attempt some Django model code and
>>> >> shoot it past Rick sometime this weekend.
>>> >>
>>> >> On Fri, Jul 17, 2009 at 1:01 AM, Michael Bunsen<not...@gmail.com>
>>> >> wrote:
>>> >>>
>>> >>> Hi All,
>>> >>>
>>> >>> Thank you all for coming last Sunday!! I am really excited tackling
>>> >>> this
>>> >>> project together. I typed up the database models from our notes and
>>> >>> Mark
>>> >>> added the user work flows that we discussed, which are also provide a
>>> >>> general set of tests or goals that the site will fulfill.
>>> >>>
>>> >>> http://wiki.urbanedibles.org/index.php?title=New_Website_Development
>>> >>>
>>> >>> There is more we discussed, like our software stack and more specific
>>> >>> feature ideas, but I am currently on my way into the woods outside of
>>> >>> Eugene
>>> >>> and don't have our notes with me. I'll get those up first thing next
>>> >>> week,
>>> >>> but feel free to jump on the Wiki -- start an account and add your
>>> >>> thoughts.
>>> >>>
>>> >>> I started a Google Group for development discussion with the address
>>> >>> urbanedi...@googlegroups.com and directly subscribed those who
>>> >>> came
>>> >>> to
>>> >>> the last meeting. I'd like to keep as much collaboration as possible
>>> >>> on
>>> >>> the
>>> >>> Wiki, or the google code site, but use the list as you see fit.
>>> >>>
>>> >>> Here is a roster of those who participated last Sunday:
>>> >>>
>>> >>> Rick Flosi - rick....@gmail.com (python & web man)
>>> >>> Laura Cooper - bunnyl...@gmail.com (pie maker)
>>> >>> Erin Moore - erm...@pdx.edu - (PSU environmental science)
>>> >>> Lindsey Walker - lindse...@hotmail.com (mathematics & C
>>> >>> programmer)
>>> >>> Mark - mark...@gmail.com (robotics, intel)
>>> >>> Laurel - lav...@gmail.com (freegeek board member & UE coordinator who
>>> >>> couldn't make it)
>>> >>>
>>> >>> Out next meeting is: Sunday, July 26th @ 3pm at Backspace
>>> >>>
>>> >>> Thanks again everyone! Stay in touch.
>>> >>>
>>> >>> Michael
>>> >>>
>>> >>>
>>> >>>
>>> >
>>
>
>