Auto-create environment
This commit is contained in:
parent
1472bad71f
commit
4fdcea8acd
10
watch-obt.sh
10
watch-obt.sh
|
@ -1,5 +1,13 @@
|
||||||
#!/bin/sh
|
#!/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 \
|
./watch.py ~/PhpstormProjects/pronq/obt_prototypes/ -u root -p vagrant -s localdev.saas.hp.com \
|
||||||
--map "server/cms:/var/www/drupal" \
|
--map "server/cms:/var/www/drupal" \
|
||||||
--map "shared-assets:/var/www/drupal/sites/all/themes/zen_pronq_mktg/shared-assets" \
|
--map "shared-assets:/var/www/drupal/sites/all/themes/zen_pronq_mktg/shared-assets" \
|
||||||
|
|
Loading…
Reference in New Issue