diff options
author | Neissi Torres Lima <neissi.lima@gmail.com> | 2015-02-04 10:37:41 -0200 |
---|---|---|
committer | Neissi Torres Lima <neissi.lima@gmail.com> | 2015-02-04 10:38:07 -0200 |
commit | 34c3196f26c7f64344b397b3e6c9b87a88747af8 (patch) | |
tree | d71315b2f82c7dd757af5ccc759de785e2b8f8f8 | |
parent | a7beccf1e219c4e946bc8c90335683e2e6b20d01 (diff) |
Fixing setupjs
-rwxr-xr-x | provisioning/modules/pixelated/files/activate_custom_node_modules.sh | 9 | ||||
-rwxr-xr-x | service/go | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/provisioning/modules/pixelated/files/activate_custom_node_modules.sh b/provisioning/modules/pixelated/files/activate_custom_node_modules.sh index 5b4ced5f..a8104857 100755 --- a/provisioning/modules/pixelated/files/activate_custom_node_modules.sh +++ b/provisioning/modules/pixelated/files/activate_custom_node_modules.sh @@ -25,17 +25,10 @@ if [ ! -e $VAGRANT_NODE_MODULES ] ; then ln -s $CUSTOM_NODE_MODULES_LOCATION $VAGRANT_NODE_MODULES fi - source /home/vagrant/user-agent-venv/bin/activate cd /vagrant/service -echo "running python setup.py develop" -python setup.py develop >/dev/null -echo "running bower install" -cd /vagrant/web-ui/ -bower install >/dev/null -echo "running go build" -./go build +./go setup cd /vagrant @@ -19,6 +19,8 @@ function setuppy { function setupjs { cd ../web-ui + npm install + node_modules/bower/bin/bower install --config.interactive=false --allow-root LC_ALL=en_US.UTF-8 ./go build cd - } |