Re: install with package manager or pip

2016-06-26 Thread ludovic coues
I setup my folder this way: /project/VirtEnv /project/mysite File like requirement.txt, readme, licence and .gitignore are in /project, /project/mysite contain manage.py and all the django file, /project/VirtEnv is managed by virtualenv and pip. I don't look at the content of the folder most of the

Re: install with package manager or pip

2016-06-26 Thread emetib
On Sunday, June 26, 2016 at 11:13:20 AM UTC-5, ludovic coues wrote: > > The virtualenv folder should not be your root folder. > it's not. VirtEnv is base. VirtEnv/mysite is the virtualenv. this is where manage.py is located then VirtEnv/mysite/mysite and .../mysite/polls this is what the tut

Re: install with package manager or pip

2016-06-26 Thread ludovic coues
The virtualenv folder should not be your root folder. It's a separate folder. You can keep them all in a single location or put each of them in a subdir of your projet. You start using a virtualenv with "source venv/bin/activate". After this, the current terminal will use the virtualenv in the fol

Re: install with package manager or pip

2016-06-25 Thread emetib
answered it myself with more searching. install additional applications that only virtualenv is going to use in the virtenv folder. thanks again. em -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rece

Re: install with package manager or pip

2016-06-25 Thread emetib
thank you for your responses. one last question. do i need to be in the virtualenv when doing things? i.e. editing code, running the server... i just have to make sure that the folder i set up with the virtenv is my root dir when coding, correct? thank you em -- You received this message bec

Re: install with package manager or pip

2016-06-25 Thread ludovic coues
virtualenv venv source venv/bin/activate pip install django pip freeze > requirements.txt django-admin startproject tutorial cd tutorial && python manage.py runserver Assuming you have python and virtualenv installed on your machine. At this point, you have: * a virtualenv inside the folder venv

Re: install with package manager or pip

2016-06-25 Thread Gary Roach
On 06/25/2016 12:35 PM, emetib wrote: i'm looking at trying out django, yet i've seen that you can install it with either the package manager or pip. i'm running debian testing to play around with this. small install ssh server only. using a clone of this base install. haven't played with/

install with package manager or pip

2016-06-25 Thread emetib
i'm looking at trying out django, yet i've seen that you can install it with either the package manager or pip. i'm running debian testing to play around with this. small install ssh server only. using a clone of this base install. haven't played with/used pip hardly at all. questions- doe