updated ubuntu install scripts

This commit is contained in:
Dmitriy Zaporozhets 2011-12-06 01:10:53 +02:00
parent cabde950bf
commit c78ce746e5
4 changed files with 10 additions and 14 deletions

View file

@ -1,11 +0,0 @@
Ubuntu installation
1. install git & generate ssh key
2. install ruby
./ubuntu_ruby.sh
3. install git user & gitolite with umask 0007
./ubuntu_gitolite.sh
4. logout
5. install gitlabhq
./ubuntu_gitlab.sh
6 start server

8
install/README.md Normal file
View file

@ -0,0 +1,8 @@
## Ubuntu installation
1. login as user, install git & generate ssh key
2. sudo ./ubuntu_ruby.sh
3. sudo ./ubuntu_gitolite.sh
4. logout & login again
5. sudo ./ubuntu_gitlab.sh
6. start server

View file

@ -1,6 +1,8 @@
sudo pip install pygments sudo pip install pygments
sudo apt-get install python-dev sudo apt-get install python-dev
sudo gem install bundler sudo gem install bundler
git clone git://github.com/gitlabhq/gitlabhq.git
cd gitlabhq
bundle install --without development test bundle install --without development test
bundle exec rake db:setup RAILS_ENV=production bundle exec rake db:setup RAILS_ENV=production
bundle exec rake db:seed_fu RAILS_ENV=production bundle exec rake db:seed_fu RAILS_ENV=production

View file

@ -7,9 +7,6 @@ sudo adduser \
--home /home/git \ --home /home/git \
git git
PATH=/home/dzaporozhets/bin:$PATH
# Add your user to git group # Add your user to git group
sudo usermod -a -G git `eval whoami` sudo usermod -a -G git `eval whoami`