Monday, May 23, 2011

Re: How do you organize your deployment enviroment

I use fabric and chef together.  Usually fabric bootstraps my chef environment, and then chef takes over.  I also don't use cron anymore, but instead use celery.

Best,
Brian

On Mon, May 23, 2011 at 7:50 AM, DK <cypreess@gmail.com> wrote:
What is your optimal filesystem folder scheme?

I've used to keep everything in one directory (project-enviroment, that was itself a virtualenv directory) and then put everything there, but now I am finding hard to manage this as it became a little mess. Now I think about something like:

/
   home/
       project_user/
             env/    (<- virtual env goes here, no custom things, set up with pip requiremnts )
             some_project/  ( <- this is project directory easily keeping up to date with some versioning system)
             runmanager/         ( <- collection of generic scripts for running django projects etc,  versioned )
             runtime/      (<- here goes all runtime stuff, like run, logs, conf, this should be preconfigured by invoking a specific command from runmanager, this cannot be versioned, these are installation specific files)


any better idea/practices?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Brian Bouterse
ITng Services

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment