add force=yes for gitlab:setup
This commit is contained in:
parent
c191de487d
commit
ec7fd08352
1 changed files with 1 additions and 1 deletions
2
debian/rake-tasks.sh
vendored
2
debian/rake-tasks.sh
vendored
|
@ -3,7 +3,7 @@
|
|||
. /etc/gitlab/gitlab-debian.conf
|
||||
|
||||
echo "Initializing database..."
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:setup RAILS_ENV=production'
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:setup RAILS_ENV=production force=yes'
|
||||
echo "Precompiling assets..."
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile RAILS_ENV=production'
|
||||
su ${gitlab_user} -s /bin/sh -c 'touch public/source.tar.gz'
|
||||
|
|
Loading…
Reference in a new issue