Have two questions. To manage development of a Django project, when interfacing local changes and mirroring them to my remote webserver, would you people recommend using rsync or git? I have a little experience with both. I've been using rsync to mirror basic HTML and CSS changes from my local host to my remote Apache public_html directory for a while now. I was thinking of using rsync for transferring changes to my webserver but in one of the courses I am taking, the instructor uses git and GitHub. I’m not sure if using git is overkill or not best practices. What would you people recommend?
Whether I go with git or rsync, I also need to make a decision about where to place my Django project folder on my VPS. One of the guides I am using, titled, “How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 18.04 <https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04>” suggests putting it inside the user’s home folder. I gather this isn’t the most secure option. It’s also not a good idea to place the Django project folder inside the Apache public_html folder, am I right? I read both these things somewhere a while ago but I can’t recall exactly where. Anyways, to set the record straight, where would you people recommend I place my Django project folder on my VPS? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/994e80b8-0c4d-439c-b0e3-636b8e4f00e2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

