I am following the getting started with Django tutorial and managed to finish 
the 1st project but when I re-entered Vagrant SSH all packages i installed on 
my vagrant shared folder and my virtual environment were gone.  I think it 
might be because virtual box has several different version of my precise box. 
This might be whats causing the missing Envs and packages that ive already 
installed. It seems like im doing something wrong spinnng up the vagrant 
instance.

Whats is best practice for setting up a development environment once in Vagrant 
SSH?

Currently i have done:
1) Vagrant SSH
2) Installed default python packages (pip, dev, git, etc.)
3) Install Virtual env
4) CD to shared folder (ie /vagrant)
5) Create virtual env ( 'virtualenv env_name')
6) Source virtual env (source env_name/bin/activate)
7) Install Virtual env pkgs (ie. Django, pyscho2, etc.)

Once im done for the day:

8) deactivate virtual env
9) exit out of ssh
10) vagrant halt

Is this generally the correct workflow? I'm confused about step 5 in 
particular. Is this the correct way to create the virtual env or should I 
default to a different folder (the tutorial starts the folder with '~/')?. Am 
i'm shutting things down properly?

Any help would be appreciated - Thanks in advance!

Windows 7 (Cygwin)
Python 2.7x
Django 1.5x
Vagrant 1.3

-- 
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+unsubscr...@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/e903831d-816b-43a2-88f2-ad27caa5934f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to