title: Django and 'virtualenv' - proper project structure
body: <p>I have a dilemma setting up a local development projet structure. Here is my setup:</p>
  
  <ul>
  <li>Python 2.7</li>
  <li>Django 1.9</li>
  <li>Mac OSX El Capitan 10.11</li>
  <li>MySQL 5.7</li>
  </ul>
  
  <p>I made a "Mistake" of setting my project globally instead of in a virtual environment (using '<code>pip</code>' to install everything in <code>/&gt;</code>). After reading <a href="https://timmyomahony.com/blog/updated-django-project-structure-or-folder-layout/" rel="noreferrer">this article</a> I still don't get all the steps. <strong>Is this correct:</strong></p>
  
  <ol>
  <li>I install global python ( pip, virtualenv in <code>'/&gt;'</code> )</li>
  <li>I then go to a location where my projects will reside, like <code>/users/user/documents/projects/project1</code> and <strong>from within</strong> 'project1' I use 'virtualenv' to create a virtual environment for this project (this creates a <code>/virtual env/</code> folder inside <code>/project1/</code> folder)</li>
  <li>activate this virtual environment and <code>pip install django</code></li>
  <li>then from within newly created <code>/virtual env/</code> folder I <code>startproject</code>which creates another <code>/project1/</code> folder within <code>/virtual env/</code> folder</li>
  <li>with virtual environment still activated in the current shell session, I proceed with creating my scripts, site and app files</li>
  </ol>
  
  <p><strong>Ad 2.</strong> should the virtualenv folder be INSIDE the main "project1" folder or should it encompass it?</p>
  
  <p><strong>Ad 4.</strong> Is this correct or can I do it without activating virtual environment first?</p>
  
  <p>My structure currently looks like this (starts from the root: <code>/users/myUser/documents/projects/</code>):</p>
  
  <pre><code>/project1/
      /website1/
          /static/
          /templates/
          __init.py__
          settings.py
          urls.py
          views.py
          wsgi.py
  </code></pre>