add gitlab shell

This commit is contained in:
Praveen Arimbrathodiyil 2015-11-10 20:57:56 +05:30
parent ec7fd08352
commit d94d1c5ef8

View file

@ -4,6 +4,9 @@
echo "Initializing database..." echo "Initializing database..."
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:setup RAILS_ENV=production force=yes' su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:setup RAILS_ENV=production force=yes'
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:shell:install[v2.6.5]\
REDIS_URL=unix:/var/run/redis/redis.sock \
SHELL_ROOT_PATH=/usr/share/gitlab-shell RAILS_ENV=production'
echo "Precompiling assets..." 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 'bundle exec rake assets:precompile RAILS_ENV=production'
su ${gitlab_user} -s /bin/sh -c 'touch public/source.tar.gz' su ${gitlab_user} -s /bin/sh -c 'touch public/source.tar.gz'