forked from gitlabhq/gitlabhq
-
Notifications
You must be signed in to change notification settings - Fork 2
Ubuntu.stable
randx edited this page Feb 22, 2012
·
14 revisions
- install git
- generate ssh key
1. Ruby (skip if exists)
2. Gitolite
sudo apt-get install python-dev python-pip sendmail redis-server libicu-dev
sudo pip install pygments
sudo gem install bundler
git clone -b stable 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
sudo gem install charlock_holmes -v '0.6.8'
bundle install --without development test
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 - [email protected]
Password - 5iveL!fe
for post-recieve hooks you need to start resque:
mkdir tmp/pids
nohup bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production PIDFILE=tmp/pids/resque_worker_QUEUE.pid & >> log/resque_worker_QUEUE.log 2>&1