Commit 91045358a2b0eba6922bdbf9bfc65313e6f167ef
1 parent
3538ae85
Exists in
master
and in
4 other branches
brand new README
Showing
2 changed files
with
102 additions
and
104 deletions
Show diff stats
@@ -0,0 +1,102 @@ | @@ -0,0 +1,102 @@ | ||
1 | +# Welcome to GitLab [](https://secure.travis-ci.org/gitlabhq/gitlabhq) | ||
2 | + | ||
3 | +GitLab is a free Project/Repository management application | ||
4 | + | ||
5 | +## Application details | ||
6 | + | ||
7 | +rails 3.1 | ||
8 | +works only with gitosis | ||
9 | +sqlite as default a database | ||
10 | + | ||
11 | +## Requirements | ||
12 | + | ||
13 | +* ruby 1.9.2 | ||
14 | +* sqlite | ||
15 | +* git | ||
16 | +* gitosis | ||
17 | +* ubuntu/debian | ||
18 | +* pygments lib - `sudo easy_install pygments` | ||
19 | + | ||
20 | +## Install Project | ||
21 | + | ||
22 | +```bash | ||
23 | +git clone git://github.com/gitlabhq/gitlabhq.git | ||
24 | + | ||
25 | +cd gitlabhq/ | ||
26 | + | ||
27 | +# install this library first | ||
28 | +sudo easy_install pygments | ||
29 | + | ||
30 | +# give your user access to remove git repo | ||
31 | +# Ex. | ||
32 | +# If you are going to use user 'gitlabhq' for rails server | ||
33 | +# gitlabhq ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers | ||
34 | +# | ||
35 | +echo "USERNAME ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers | ||
36 | + | ||
37 | +sudo gem install bundler | ||
38 | + | ||
39 | +bundle | ||
40 | + | ||
41 | +bundle exec rake db:setup RAILS_ENV=production | ||
42 | + | ||
43 | +# create admin user | ||
44 | +# login....admin@local.host | ||
45 | +# pass.....5iveL!fe | ||
46 | +bundle exec rake db:seed_fu RAILS_ENV=production | ||
47 | +``` | ||
48 | + | ||
49 | +Install gitosis, edit `conf/gitosis.yml` and start server | ||
50 | + | ||
51 | +```bash | ||
52 | +rails s -e production | ||
53 | +``` | ||
54 | + | ||
55 | +## Install Gitosis | ||
56 | + | ||
57 | +```bash | ||
58 | +sudo aptitude install gitosis | ||
59 | + | ||
60 | +sudo adduser \ | ||
61 | + --system \ | ||
62 | + --shell /bin/sh \ | ||
63 | + --gecos 'git version control' \ | ||
64 | + --group \ | ||
65 | + --disabled-password \ | ||
66 | + --home /home/git \ | ||
67 | + git | ||
68 | + | ||
69 | +ssh-keygen -t rsa | ||
70 | + | ||
71 | +sudo -H -u git gitosis-init < ~/.ssh/id_rsa.pub | ||
72 | + | ||
73 | +sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update | ||
74 | +``` | ||
75 | + | ||
76 | +## Install ruby 1.9.2 | ||
77 | + | ||
78 | +```bash | ||
79 | +sudo aptitude 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 | ||
80 | + | ||
81 | +wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz | ||
82 | + | ||
83 | +tar xfvz ruby-1.9.2-p290.tar.gz | ||
84 | + | ||
85 | +cd ruby-1.9.2-p290 | ||
86 | +./configure | ||
87 | +make | ||
88 | +sudo checkinstall -D | ||
89 | + | ||
90 | +sudo gem update --system | ||
91 | + | ||
92 | +echo "gem: --no-rdoc --no-ri" > ~/.gemrc | ||
93 | +``` | ||
94 | + | ||
95 | +## Community | ||
96 | + | ||
97 | +[Google Group](https://groups.google.com/group/gitlabhq) | ||
98 | + | ||
99 | +## Contribute | ||
100 | + | ||
101 | +We develop project on our private server. | ||
102 | +Want to help? Contact us on twitter or email to become a team member. |
README.rdoc
@@ -1,104 +0,0 @@ | @@ -1,104 +0,0 @@ | ||
1 | -== Welcome to GitLab | ||
2 | - | ||
3 | -GitLAb is a free Project/Repository managment application | ||
4 | - | ||
5 | -== Application details | ||
6 | - | ||
7 | -rails 3.1 | ||
8 | -works only with gitosis | ||
9 | -sqlite as default db | ||
10 | - | ||
11 | - | ||
12 | -== Requirements | ||
13 | - | ||
14 | -* ruby 1.9.2 | ||
15 | - | ||
16 | -* sqlite | ||
17 | - | ||
18 | -* git | ||
19 | - | ||
20 | -* gitosis | ||
21 | - | ||
22 | -* ubuntu/debian | ||
23 | - | ||
24 | -* pygments lib - sudo easy_install pygments | ||
25 | - | ||
26 | - | ||
27 | -== Install Project | ||
28 | - | ||
29 | - | ||
30 | - git clone git://github.com/gitlabhq/gitlabhq.git | ||
31 | - | ||
32 | - cd gitlabhq/ | ||
33 | - | ||
34 | - # install this library first | ||
35 | - sudo easy_install pygments | ||
36 | - | ||
37 | - # give your user access to remove git repo | ||
38 | - # Ex. | ||
39 | - # If you are going to use user 'gitlabhq' for rails server | ||
40 | - # gitlabhq ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers | ||
41 | - # | ||
42 | - echo "USERNAME ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers | ||
43 | - | ||
44 | - sudo gem install bundler | ||
45 | - | ||
46 | - bundle | ||
47 | - | ||
48 | - bundle exec rake db:setup RAILS_ENV=production | ||
49 | - | ||
50 | - # create admin user | ||
51 | - # login....admin@local.host | ||
52 | - # pass.....5iveL!fe | ||
53 | - bundle exec rake db:seed_fu RAILS_ENV=production | ||
54 | - | ||
55 | -Install gitosis, edit conf/gitosis.yml & start server | ||
56 | - | ||
57 | - rails s -e production | ||
58 | - | ||
59 | -== Install Gitosis | ||
60 | - sudo aptitude install gitosis | ||
61 | - | ||
62 | - sudo adduser \ | ||
63 | - --system \ | ||
64 | - --shell /bin/sh \ | ||
65 | - --gecos 'git version control' \ | ||
66 | - --group \ | ||
67 | - --disabled-password \ | ||
68 | - --home /home/git \ | ||
69 | - git | ||
70 | - | ||
71 | - | ||
72 | - ssh-keygen -t rsa | ||
73 | - | ||
74 | - sudo -H -u git gitosis-init < ~/.ssh/id_rsa.pub | ||
75 | - | ||
76 | - sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update | ||
77 | - | ||
78 | - | ||
79 | -== Install ruby 1.9.2 | ||
80 | - | ||
81 | - sudo aptitude 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 | ||
82 | - | ||
83 | - wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz | ||
84 | - | ||
85 | - tar xfvz ruby-1.9.2-p290.tar.gz | ||
86 | - | ||
87 | - cd ruby-1.9.2-p290 | ||
88 | - ./configure | ||
89 | - make | ||
90 | - sudo checkinstall -D | ||
91 | - | ||
92 | - sudo gem update --system | ||
93 | - | ||
94 | - | ||
95 | - echo "gem: --no-rdoc --no-ri" > ~/.gemrc | ||
96 | - | ||
97 | -== Community | ||
98 | - | ||
99 | -gitlabhq[https://groups.google.com/forum/?hl=en#!forum/gitlabhq] Google Group | ||
100 | - | ||
101 | -== Contribute | ||
102 | - | ||
103 | -We develop project on our private server. | ||
104 | -Want to help? Contact us on twitter or email to become a team member. |