On Jun 15, 1:05 pm, Jean-Guy <[email protected]> wrote:
> On 2010-06-15 13:16, Thadeus Burgess wrote:
>
>
>
> > I ment... whats the use attempting to convince Massimo that this is a
> > good idea although many community members want it. He has been against
> > this suggestion for the last year that I have been using web2py and
> > this has been brought up many times, and he probably won't ever change
> > his mind, so we should just stop arguing the topic.
>
> > --
> > Thadeus
>
> > On Tue, Jun 15, 2010 at 12:05 PM, Jean-Guy<[email protected]>  wrote:
>
> >> On 2010-06-15 11:47, Thadeus Burgess wrote:
>
> >>> bah, whats the use.
>
> >>> --
> >>> Thadeus
>
> >>> On Tue, Jun 15, 2010 at 10:14 AM, Jean-Guy<[email protected]>    wrote:
>
> >>>> On 2010-06-15 02:45, mdipierro wrote:
>
> >>>> se you do not have too, you can use ruotes already for this
> >>>> purpose.
>
> >>>> Here :http://www.web2py.com/AlterEgo/default/show/42
>
> >> Just specify the app to load by default...
>
> >> Jonhy
>
> That works pretty much OK :
>
> routes_in = (('/', '/yourappname/'),)

.... and don't forget  routes_out, and routes_error ---- for this to
work like  init or welcome, you have to think about it a bit.

While routes.py is _general_ it is not as simple & straightforward as
a command line or other kind of config option would be (note: there
are already configuration parameters currently held in parameters.py
---- Massimo is just against, I think, a rampant explosion of these -
wants to limit them).

Thadeus points out this:   it's a very common request, an often used
thing (yes you _can_ just link or rename your app to applications/
init!!!  and why wouldn't you???).

I think the simpler solution (simpler than routes.py) is - when
deploying, link your app to applicaitons/init --- it is simple, it
will behave as you want, and the only "operating system" that I can
think of that doesn't have directory level symbolic links is
(possibly)   Windows.

I think there are already 2 ways to do this, one flexible (routes),
one simple (link your app to init) - and the only possible complainers
would be those deploying on windows, and even for them a simple
solution is simply renaming their desired app to init.

As Thadeus points out (albeit for different reasons) there is no real
reason to argue this.

Done!

Regards,
- Yarko

>
> The only thing is the information should be made easily available in doc
> in the deployment recipe section... Then when come the time to push a
> site in prod the user has not to search or ask the mailing-list.
>
> Jonhy

Reply via email to