How to run django server with ACTIVATED virtualenv using batch file (.bat)
<p>I found this post to be useful on <a href="http://stackoverflow.com/questions/3027160/how-to-code-a-batch-file-to-automate-django-web-server-start">how to code a batch file to automate django web server start</a>.</p>

<p>But the problem is, there is <strong>no virtualenv</strong> activated, How can i activate it before the manage.py runserver inside the script?</p>

<h3>I would like to run this server with virtualenv activated via batch file.</h3>

<p>try <code>\path\to\env\Scripts\activate</code></p>

<p>and look at <a href="https://virtualenv.pypa.io/en/stable/userguide/#activate-script" rel="nofollow">virtualenv docs</a></p>

python django windows batch-file