Friday, December 2, 2011

Re: How to deploy new code to the Production Server?

On Fri, 2011-12-02 at 09:00 +0000, Andre Lopes wrote:
> How can I have the two environments(Development and Production) in
> Git? Should I use two new Branches(Development and Production). Please
> give me a clue on this.

have two branches (and do not put settings.py under version control)
>
> Other question... when I finish to upload/push the code to the
> Production server I need to restart the Gunicorn(serves Django
> website). How can I do this?

use supervisord
>
> And the most important question... Should I use Git to do this or I
> have better options?

I personally prefer mercurial - bitbucket rocks.
--
regards
Kenneth Gonsalves

--
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