use npm install for front end dependencies
This commit is contained in:
parent
bd9f7088b3
commit
e7f6290a1e
2 changed files with 4 additions and 0 deletions
1
debian/gitlab.links
vendored
1
debian/gitlab.links
vendored
|
@ -1,6 +1,7 @@
|
|||
var/lib/gitlab/public usr/share/gitlab/public
|
||||
var/lib/gitlab/shared usr/share/gitlab/shared
|
||||
var/lib/gitlab/db usr/share/gitlab/db
|
||||
var/lib/gitlab/node_modules usr/share/gitlab/node_modules
|
||||
var/lib/gitlab/.ssh usr/share/gitlab/.ssh
|
||||
var/lib/gitlab/.bundle usr/share/gitlab/.bundle
|
||||
var/lib/gitlab/secrets.yml etc/gitlab/secrets.yml
|
||||
|
|
3
debian/rake-tasks.sh
vendored
3
debian/rake-tasks.sh
vendored
|
@ -25,5 +25,8 @@ fi
|
|||
# Restrict permissions for secret files
|
||||
chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret
|
||||
|
||||
echo "Installing node modules"
|
||||
runuser -u ${gitlab_user} -- sh -c 'npm install'
|
||||
|
||||
echo "Precompiling assets..."
|
||||
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake tmp:cache:clear assets:precompile'
|
||||
|
|
Loading…
Reference in a new issue