Commit 2b68049625706403c9b214820486ff28fb1d19be
1 parent
3655b042
Exists in
master
and in
4 other branches
readme cleaning
Showing
1 changed file
with
15 additions
and
95 deletions
Show diff stats
README.md
| ... | ... | @@ -18,109 +18,29 @@ sqlite as default a database |
| 18 | 18 | * sqlite |
| 19 | 19 | * git |
| 20 | 20 | * gitolite |
| 21 | -* ubuntu/debian | |
| 22 | 21 | * pygments lib - `sudo easy_install pygments` |
| 23 | 22 | |
| 24 | -## Install Project | |
| 23 | +## Install | |
| 25 | 24 | |
| 26 | -```bash | |
| 27 | -git clone git://github.com/gitlabhq/gitlabhq.git | |
| 25 | +Checkout wiki pages for installation information, migration, etc. | |
| 28 | 26 | |
| 29 | -cd gitlabhq/ | |
| 30 | - | |
| 31 | -# install this library first | |
| 32 | -sudo pip install pygments | |
| 33 | -sudo apt-get install python-dev | |
| 34 | - | |
| 35 | -sudo gem install bundler | |
| 36 | - | |
| 37 | -bundle install --without development test | |
| 38 | - | |
| 39 | -bundle exec rake db:setup RAILS_ENV=production | |
| 40 | - | |
| 41 | -# create admin user | |
| 42 | -# login....admin@local.host | |
| 43 | -# pass.....5iveL!fe | |
| 44 | -bundle exec rake db:seed_fu RAILS_ENV=production | |
| 45 | -``` | |
| 46 | - | |
| 47 | -Install gitolite (with repo umask 0007), edit `config/gitlab.yml` and start server | |
| 48 | - | |
| 49 | -```bash | |
| 50 | -bundle exec rails s -e production | |
| 51 | -``` | |
| 52 | - | |
| 53 | - | |
| 54 | -## Install Gitolite | |
| 55 | - | |
| 56 | - | |
| 57 | -```bash | |
| 58 | - | |
| 59 | - | |
| 60 | -# create git user | |
| 61 | -sudo adduser \ | |
| 62 | - --system \ | |
| 63 | - --shell /bin/sh \ | |
| 64 | - --gecos 'git version control' \ | |
| 65 | - --group \ | |
| 66 | - --disabled-password \ | |
| 67 | - --home /home/git \ | |
| 68 | - git | |
| 69 | - | |
| 70 | - | |
| 71 | -# Add your user to git group | |
| 72 | -usermod -a -G git gitlabhq_user_name | |
| 73 | - | |
| 74 | -``` | |
| 75 | - | |
| 76 | -### !!! IMPORTANT !!! Gitolite should have repository umask 0007 so users from git group has read/write access to repo | |
| 77 | - | |
| 78 | -```bash | |
| 79 | - | |
| 80 | -# copy your pub key to git home | |
| 81 | -cp ~/.ssh/id_rsa.pub /home/git/rails.pub | |
| 82 | - | |
| 83 | -# enter user git | |
| 84 | -sudo -i -u git | |
| 85 | - | |
| 86 | -# clone gitolite | |
| 87 | -git clone git://github.com/gitlabhq/gitolite | |
| 88 | - | |
| 89 | -# install gitolite | |
| 90 | -gitolite/src/gl-system-install | |
| 91 | - | |
| 92 | - | |
| 93 | -# Setup (Dont forget to set umask as 0007!!) | |
| 94 | -gl-setup ~/rails.pub | |
| 95 | - | |
| 96 | - | |
| 97 | -``` | |
| 98 | - | |
| 99 | - | |
| 100 | -## Install ruby 1.9.2 | |
| 101 | - | |
| 102 | -```bash | |
| 103 | -sudo aptitude install git-core openssh-server 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 | |
| 104 | - | |
| 105 | -wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz | |
| 106 | - | |
| 107 | -tar xfvz ruby-1.9.2-p290.tar.gz | |
| 108 | - | |
| 109 | -cd ruby-1.9.2-p290 | |
| 110 | -./configure | |
| 111 | -make | |
| 112 | -sudo checkinstall -D | |
| 27 | +## Community | |
| 113 | 28 | |
| 114 | -sudo gem update --system | |
| 29 | +[Google Group](https://groups.google.com/group/gitlabhq) | |
| 30 | +IRC freenode: #gitlabhq | |
| 115 | 31 | |
| 116 | -echo "gem: --no-rdoc --no-ri" > ~/.gemrc | |
| 117 | -``` | |
| 32 | +## Contacts | |
| 118 | 33 | |
| 119 | -## Community | |
| 34 | ||
| 35 | + * @gitalbhq | |
| 36 | + * @dzaporozhets | |
| 120 | 37 | |
| 121 | -[Google Group](https://groups.google.com/group/gitlabhq) | |
| 38 | ||
| 39 | + * m@gitlabhq.com | |
| 122 | 40 | |
| 123 | 41 | ## Contribute |
| 124 | 42 | |
| 125 | -We develop project on our private server. | |
| 126 | -Want to help? Contact us on twitter or email to become a team member. | |
| 43 | +We are on our way to full open source. | |
| 44 | +Want to help - create an issue on github and notify us that you are ready to start it. | |
| 45 | +If approved - fork, code, cover with tests & make pull request. | |
| 46 | +We'll accept good pull requests. | ... | ... |