- Install virtual env:
$ pip install virtualenv
$ pip install virtualenvwrapper-win
- Create virtualenv:
$ mkvirtualenv example
-
Run
deactivate
to deactivate virtualenv. To activate virtualenv runworkon example
. -
Instal requirements:
$ pip install -r ..\requirements.txt
- Create and rum migrations:
$ python manage.py makemigrations
$ python manage.py migrate
- Run development server:
$ python manage.py runserver