Skip to content
Snippets Groups Projects
Commit cda6a553 authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Update vagrant provision script for gulp 4.

parent 68e83a19
No related branches found
No related tags found
No related merge requests found
......@@ -58,10 +58,9 @@ cd $PROJECT_DIR
EOF
# Install node.js and npm
su - vagrant -c "curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -"
su - vagrant -c "curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -"
su - vagrant -c "sudo apt-get install -y nodejs"
# Build the static files
su - vagrant -c "sudo npm install -g yarn"
su - vagrant -c "cd $PROJECT_DIR/$MODULE_NAME/static_src; yarn install"
su - vagrant -c "cd $PROJECT_DIR/$MODULE_NAME/static_src; yarn build"
su - vagrant -c "sudo npm install -g gulp-cli"
su - vagrant -c "cd $PROJECT_DIR; gulp deploy"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment