1

Is it possible to have django projects(python3) directory outside of the environment directory? e.g I want to have my projects under /Users/me/Documents/dev/myDjangoProject and environment under /Users/me/Documents/env/myCustomEnvironment and somehow link them together. Thanks in advance

gogagubi
  • 965
  • 1
  • 15
  • 36
  • 1
    Please visit this link: https://stackoverflow.com/questions/35936425/django-and-virtualenv-proper-project-structure – Azdy Sep 18 '19 at 12:56

1 Answers1

0

Ok. I found solution.

  1. From my terminal window I moved into my project directory - /Users/me/Documents/dev/myDjangoProject
  2. Activated virtualenv from its absolute path - source /Users/me/Documents/env/myCustomEnvironment/bin/activate
  3. And then ran server python manage.py runserver
gogagubi
  • 965
  • 1
  • 15
  • 36