install scripts moved to separate repo

This commit is contained in:
Dmitriy Zaporozhets 2011-12-07 20:46:07 +02:00
parent 1b8f082061
commit 8a4cd8a28b
4 changed files with 0 additions and 53 deletions

View file

@ -1,8 +0,0 @@
## 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 +0,0 @@
sudo pip install pygments
sudo apt-get install python-dev
sudo gem install bundler
bundle install --without development test
bundle exec rake db:setup RAILS_ENV=production
bundle exec rake db:seed_fu RAILS_ENV=production

View file

@ -1,28 +0,0 @@
sudo apt-get install openssh-server
sudo adduser \
--system \
--shell /bin/sh \
--gecos 'git version control' \
--group \
--disabled-password \
--home /home/git \
git
# Add your user to git group
sudo usermod -a -G git `eval whoami`
# copy your pub key to git home
sudo cp ~/.ssh/id_rsa.pub /home/git/rails.pub
# clone gitolite
sudo -u git -H git clone git://github.com/gitlabhq/gitolite /home/git/gitolite
# install gitolite
sudo -u git -H /home/git/gitolite/src/gl-system-install
# Setup (Dont forget to set umask as 0007!!)
sudo -u git -H /home/git/bin/gl-setup /home/git/rails.pub
echo "Done"

View file

@ -1,11 +0,0 @@
# install all packages
sudo apt-get install git-core curl gcc checkinstall libxml2-dev libxslt-dev sqlite3 libsqlite3-dev libcurl4-openssl-dev libreadline5-dev libc6-dev libssl-dev libmysql++-dev make build-essential zlib1g-dev
# get ruby 1.9.2
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
tar xfvz ruby-1.9.2-p290.tar.gz
cd ruby-1.9.2-p290
./configure
make
sudo make install
echo "Done"