start working on virtualenvwrapper

procedure

PS G:\Users\sakai> cd $Env:PROJECT_HOME
PS G:\workspace\py> workon

Pass a name to activate one of the following virtualenvs:
==============================================================================
djanbox
djfirst
djfourth
djsecond
djthird
sandbox

PS G:\workspace\py> cd .\djanbox\
PS G:\workspace\py\djanbox> .\onme.ps1
(djanbox) PS G:\workspace\py\djanbox> pip freeze
Django==2.0.6
pytz==2018.4
  • onme.ps1
$p= $PWD.Path.split("\")[-1]
cd $Env:workon_home\$p
.\Scripts\activate
cd $Env:project_home\$p