Hi, i just use git only, create Gits bare repo in the server , upload via git push [ssh of course] , then use the hook/post-update script to pull the git in the production code.
so only change/ updated part in the code got uploaded. save Bandwidth, and also reduce error, also faster deploy. for the user part, i still have no idea, coz i use gunicorn , i think it automaticly reload the new py file. On Sun, Sep 2, 2012 at 1:07 PM, Mike <mike.t...@gmail.com> wrote: > I just started to use Fabric to automate my deployments to my staging > server. (and when I'm ready, to the production server as well). I have > just a few questions for more experienced folks: > > Do you clone your whole git repository onto your server, or upload a new > archive each time you release? Seems like it would be easier to switch > versions of the running code, by switching tags, but it would use up a lot > more disk space. I'd also have to have an ssh key to the central git > repository on the web server. Sounds like that could be a security issue. > At the moment I'm programming Fabric to upload an archive, untar it, and > symlink it to a fixed directory where the web server expects it to be. > > Do you log out all users or just reset the sessions (manage.py reset > sessions)? > > thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/jIsZUTiptKQJ. > 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 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.