updated ubuntu install scripts
This commit is contained in:
parent
cabde950bf
commit
c78ce746e5
|
@ -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
8
install/README.md
Normal 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
|
|
@ -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
|
||||||
|
|
|
@ -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`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue