forked from gitlabhq/gitlabhq
-
Notifications
You must be signed in to change notification settings - Fork 0
Linux.stable
randx edited this page Mar 2, 2012
·
1 revision
- install git
- generate ssh key
1. Ruby (skip if exists)
2. Gitolite
# Ubuntu/Debian
sudo apt-get install python-dev python-pip sendmail redis-server libicu-dev
# Fedora/CentOS
sudo yum install python-dev python-pip sendmail redis-server libicu-dev
sudo pip install pygments
sudo gem install bundler
git clone git://github.com/gitlabhq/gitlabhq.git
cd gitlabhq
# Rename config files
cp config/database.yml.example config/database.yml
cp config/gitlab.yml.example config/gitlab.yml
# Install gems
sudo gem install charlock_holmes
bundle install --without development test
# Setup DB
bundle exec rake db:setup RAILS_ENV=production
bundle exec rake db:seed_fu RAILS_ENV=production
bundle exec rails s -e production
6. Visit http://localhost:3000
User - admin@local.host
Password - 5iveL!fe
8. Run Resque
# Manually
bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production
# Gitlab start script
./resque.sh