@Wyatt: The step may not be necessary for everyone. For us, we wanted the
flexibility. We will be moving to a real template compiler like SASS in the
very near future. No, I cannot share my code. To each his own.

Craig Younkins


On Sat, Jan 7, 2012 at 1:14 PM, Wyatt Baldwin
<[email protected]>wrote:

> On Saturday, January 7, 2012 8:28:46 AM UTC-8, Craig Younkins wrote:
>>
>> For our site we actually have a build process for our CSS templates at
>> application start. This way we can have different domains depending on the
>> configuration (testing, prod, dev), and it all works with the same
>> templates. They are compiled at application start rather than being served
>> dynamically because the context never changes and we can take advantage of
>> nginx's speed at serving static content.
>>
>
> At work, I deploy several Pylons and Pyramid apps to various environments
> with different host names and application prefixes, and it seems to me that
> a build step such as this shouldn't be necessary. A combination of relative
> paths in CSS and appropriate static file configuration does the trick. I'm
> curious why this wouldn't work for your app. Can you share your code?
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/M9ZmPVP3_m0J.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to