Friday, December 2, 2011

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

Thanks for the replies,

I'm using Nginx + Gunicorn + Supervisor + Virtualenv

My goal is to deploy the code to the Production in a One Click Step. I
think I will read on Fabric to achieve this.

More read also about Pip, I don't know how Pip Freeze works.

If you have some more clues, you are welcome.


Best Regards,

On Fri, Dec 2, 2011 at 10:08 AM, kenneth gonsalves
<lawgon@thenilgiris.com> wrote:
> 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.
>
>

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