10 lines
343 B
Bash
Executable file
10 lines
343 B
Bash
Executable file
#! /bin/sh
|
|
# Read configuration values
|
|
. /etc/gitlab/gitlab-debian.conf
|
|
|
|
echo "Initializing database..."
|
|
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake db:create db:schema:load'
|
|
echo "Precompiling assets..."
|
|
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile'
|
|
su ${gitlab_user} -s /bin/sh -c 'touch public/source.tar.gz'
|
|
|