Friday, August 22, 2014

Preparing virtualenvwrapper for Django 1.6 development

Hi everyone,

I am developing on a Windows 8.1 machine and wold like to setup virtualenvironment via virtualenvwrapper so as to have a properly set up Python development environment.

I am referring to Jeff Knupp's guide at http://www.jeffknupp.com/blog/2013/12/18/starting-a-django-16-project-the-right-way/

After installation of virtualenvwrapper via pip, the guide says:
"
After it's installed, add the following lines to your shell's start-up file (.zshrc, .bashrc, .profile, etc).

export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/directory-you-do-development-in
source /usr/local/bin/virtualenvwrapper.sh
"

My issue is, I do not understand what these lines are doing (I have a vague idea but assumptions can be deadly). Moreover, it is clear that the instructions were authored with a UNIX environment in mind.

Would anyone be so kind as to translate this to Windows speak, as well as perhaps pointing out what file this would go into in a Windows environment?

Thanks in advance :)

Kind regards,
Sithu.
--
Regards,
Sithu Lloyd Dube

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAH-SnCDF50yA8RT6%3DoSMkzLLdW-8Ug6EbnDyuQJVcRKMYVr%3D1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment