From 3349093cd1e2e9b8d9b34b62686941fad4dccaf7 Mon Sep 17 00:00:00 2001 From: Christoph Kluenter Date: Thu, 29 Jan 2015 16:07:38 +0100 Subject: run some more stuff on first login we need to build the css,js bower packages on login because its not contained in the image --- .../modules/pixelated/files/activate_custom_node_modules.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'provisioning/modules') 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 . - -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 -- cgit v1.2.3