run webpack

This commit is contained in:
Pirate Praveen 2017-08-22 19:19:31 +05:30
parent 302dbd50e4
commit 14d8f10bf7

View file

@ -26,7 +26,9 @@ fi
chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret
echo "Installing node modules"
runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/node_modules'
runuser -u ${gitlab_user} -- sh -c 'npm install'
runuser -u ${gitlab_user} -- sh -c 'npm run webpack-prod'
echo "Precompiling assets..."
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake tmp:cache:clear assets:precompile'