diff --git a/install/README b/install/README deleted file mode 100644 index 12aa8f40217780a08293c12911850e940b013ab6..0000000000000000000000000000000000000000 --- a/install/README +++ /dev/null @@ -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 diff --git a/install/README.md b/install/README.md new file mode 100644 index 0000000000000000000000000000000000000000..6e939ce70971d8040a48330391503b99a9027279 --- /dev/null +++ b/install/README.md @@ -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 diff --git a/install/ubuntu_gitlab.sh b/install/ubuntu_gitlab.sh index 43ed30aa38a5b43566eab2df091700cfeddda149..66530ccf1bdbf4dee09f692c7d7c1bc9582689e9 100755 --- a/install/ubuntu_gitlab.sh +++ b/install/ubuntu_gitlab.sh @@ -1,6 +1,8 @@ sudo pip install pygments sudo apt-get install python-dev sudo gem install bundler +git clone git://github.com/gitlabhq/gitlabhq.git +cd gitlabhq bundle install --without development test bundle exec rake db:setup RAILS_ENV=production bundle exec rake db:seed_fu RAILS_ENV=production diff --git a/install/ubuntu_gitolite.sh b/install/ubuntu_gitolite.sh index f37ea8f859cdec12767781a77d5c10d9c6d7aaad..383acb7be4174ebfb3b0677026a0edd372f17e42 100755 --- a/install/ubuntu_gitolite.sh +++ b/install/ubuntu_gitolite.sh @@ -7,9 +7,6 @@ sudo adduser \ --home /home/git \ git - -PATH=/home/dzaporozhets/bin:$PATH - # Add your user to git group sudo usermod -a -G git `eval whoami`