On Fri, Dec 2, 2011 at 5:30 AM, Benedict Verheyen <benedict.verhe...@gmail.com> wrote: > On 2/12/2011 11:14, Andre Lopes wrote: >> 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, >> > > If you want 1 click, you'll need fabric, read up on that. > As for pip, pip can be used to install the various dependencies of your > project in your virtualenv. > You can then list these dependencies with this command: > pip freeze > requirements.txt > > This writes them into a file named requirements.txt that you can then > use to setup the dependencies of your virtualenv on the production server. > > pip install -r requirments.txt > > You only do this to setup the production server, it's not needed to transfer > code, that you do with git (or mercurial, hg, ...). > > > Regards, > Benedict > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > >
You might find this useful: http://python.mirocommunity.org/video/1689/pycon-2010-django-deployment-w It's jacobian's django deployment workshop from pycon 2010, so it's about 3h long. It's worth watching front to back, but he only spends a little time on deployment tools. (The rest is nginx, apache, postgre, memcached, etc.) The tl;dw is: check out fabric, puppet, and buildout for automating these things. Cheers, john -- John P. Kiffmeyer Email/XMPP: j...@thekiffmeyer.org -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.