summaryrefslogtreecommitdiff
path: root/provisioning/modules
diff options
context:
space:
mode:
Diffstat (limited to 'provisioning/modules')
-rwxr-xr-xprovisioning/modules/pixelated/files/activate_custom_node_modules.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/provisioning/modules/pixelated/files/activate_custom_node_modules.sh b/provisioning/modules/pixelated/files/activate_custom_node_modules.sh
index 1652b709..2fb000c5 100755
--- a/provisioning/modules/pixelated/files/activate_custom_node_modules.sh
+++ b/provisioning/modules/pixelated/files/activate_custom_node_modules.sh
@@ -15,9 +15,9 @@
# You should have received a copy of the GNU Affero General Public License
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
-
-CUSTOM_NODE_MODULES_LOCATION="$HOME/boxed_noded_modules"
+CUSTOM_NODE_MODULES_LOCATION="$HOME/boxed_node_modules"
VAGRANT_NODE_MODULES="/vagrant/web-ui/node_modules"
+export PATH="$PATH:$CUSTOM_NODE_MODULES_LOCATION/node_modules/.bin"
export NODE_PATH="$CUSTOM_NODE_MODULES_LOCATION/node_modules"
@@ -29,5 +29,13 @@ fi
source ${virtualenv_path}/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
+
cd /vagrant