summaryrefslogtreecommitdiff
path: root/provisioning/modules/pixelated
diff options
context:
space:
mode:
authorChristoph Kluenter <ckluente@thoughtworks.com>2015-01-29 16:07:38 +0100
committerChristoph Kluenter <ckluente@thoughtworks.com>2015-01-29 16:23:21 +0100
commit3349093cd1e2e9b8d9b34b62686941fad4dccaf7 (patch)
tree1979e0d1b97ca067f18669a7ce9b006eafe686bb /provisioning/modules/pixelated
parenta5f4e699d440bd7da409eb7c600ace38d4a86223 (diff)
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
Diffstat (limited to 'provisioning/modules/pixelated')
-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