On Mon, Apr 19, 2010 at 5:02 AM, Diez B. Roggisch <[email protected]> wrote:
> On Monday 19 April 2010 11:22:10 Sergei Beilin wrote:
>> Hi Ilya!
>>
>> On 9 апр, 23:55, Ilya Sterin <[email protected]> wrote:
>> > One of my issues is that I think I want to deploy as an egg vs.
>>
>> We deploy via svn :) Mostly because changes are daily :)
>>
>> > Well, first, my static files are packaged in the egg file and I don't
>> > want to (at least at this point) serve them directly from apache.  Is
>> > there a way to serve these statics from an egg?
>>
>> Static files seem not to be egg-safe. Just unpack the egg.
>
> Just specify zip_safe=False in the setup.py will accomplish that.
>


1. One questions is how will you make the permissions work. If I
remember correctly www-data (debian) needs to be used for the
application folder permissions. If you install it as egg in system
then its owned by root. If you install in a virtualenv as user, its
owned by the user.

2. Are you planing on updating the package? Is it on the same machine?
IF yes then obviously using some kind of revision program and src
folder would make it easier for deploy/update.


Lucas

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to