Auto-create environment

This commit is contained in:
dpedu 2015-06-25 10:29:21 -07:00
parent 1472bad71f
commit 4fdcea8acd
1 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,13 @@
#!/bin/sh
#source testenv/bin/activate
if [ ! -d testenv ] ; then
virtualenv --python=python3.4 testenv
source testenv/bin/activate
pip3 install -r requirements.txt
deactivate
fi
source testenv/bin/activate
./watch.py ~/PhpstormProjects/pronq/obt_prototypes/ -u root -p vagrant -s localdev.saas.hp.com \
--map "server/cms:/var/www/drupal" \
--map "shared-assets:/var/www/drupal/sites/all/themes/zen_pronq_mktg/shared-assets" \