Saturday, March 30, 2013

django+virtualenv+git(hub)

Hi list,

I'm a Django newbie and have been reading of usefulness of using it with
virtualenv+git. I'm not clear however how to set it up in terms of
structure/hierarchy.

Say I've got my ~/projects/django-projects where I want to create my
projects so I'd initialise git inside ~/projects/django-projects. Then
I'd create separate virtual environments inside that adjusting
.gitignore to ignore things like:

*.pyc
.*swp

# Django files
include
lib
local
man
share
Scripts
.Python
*.pyc
*~
*.db


# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt



Is that a recommended setup/logic?

Thank you

John

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment