Re: Serving static index.html from /

2011-01-05 Thread Mike Orr
On Wed, Jan 5, 2011 at 10:23 AM, Dominik wrote: > Hi Chris, > >> We have a "cookbook" in the works that describes how to do something >> like this.  Here's a sneak peek: >> >> http://plope.com/static/pyramid_cookbook/static.html#root-relative-cu... > > Yes, thanks - I found something similar in th

Re: Serving static index.html from /

2011-01-05 Thread Chris McDonough
On Wed, 2011-01-05 at 10:23 -0800, Dominik wrote: > Hi Chris, > > > We have a "cookbook" in the works that describes how to do something > > like this. Here's a sneak peek: > > > > http://plope.com/static/pyramid_cookbook/static.html#root-relative-cu... > > Yes, thanks - I found something simila

Re: Serving static index.html from /

2011-01-05 Thread Dominik
Hi Chris, > We have a "cookbook" in the works that describes how to do something > like this.  Here's a sneak peek: > > http://plope.com/static/pyramid_cookbook/static.html#root-relative-cu... Yes, thanks - I found something similar in the "Serving Static Assets" documentation [1]. However, if I

Re: Serving static index.html from /

2011-01-05 Thread Chris McDonough
On Wed, 2011-01-05 at 01:29 -0800, Dominik wrote: > Hi there, > > in my app sqlalchemy/route-based app, in __init__.py's main I have > something like: >config = Configurator(settings=settings) >config.add_static_view('static', 'sunrise:static') > config.add_route('live', '/live', view=