Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
867945d1
Commit
867945d1
authored
Feb 05, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improving installation docs
parent
70e3bffd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
27 deletions
+6
-27
config/gitlab.yml.example
config/gitlab.yml.example
+1
-3
config/unicorn.rb.example
config/unicorn.rb.example
+1
-1
doc/install/installation.md
doc/install/installation.md
+4
-23
No files found.
config/gitlab.yml.example
View file @
867945d1
...
@@ -96,7 +96,7 @@ omniauth:
...
@@ -96,7 +96,7 @@ omniauth:
# GitLab Satellites
# GitLab Satellites
satellites:
satellites:
# Relative paths are relative to Rails.root (default: tmp/repo_satellites/)
# Relative paths are relative to Rails.root (default: tmp/repo_satellites/)
path: /home/git
lab
/gitlab-satellites/
path: /home/git/gitlab-satellites/
## Backup settings
## Backup settings
backup:
backup:
...
@@ -105,8 +105,6 @@ backup:
...
@@ -105,8 +105,6 @@ backup:
## Gitolite settings
## Gitolite settings
gitolite:
gitolite:
admin_uri: git@localhost:gitolite-admin
# REPOS_PATH MUST NOT BE A SYMLINK!!!
# REPOS_PATH MUST NOT BE A SYMLINK!!!
repos_path: /home/git/repositories/
repos_path: /home/git/repositories/
hooks_path: /home/git/.gitolite/hooks/
hooks_path: /home/git/.gitolite/hooks/
...
...
config/unicorn.rb.example
View file @
867945d1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# note that config/gitlab.yml web path should also be changed
# note that config/gitlab.yml web path should also be changed
# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
app_dir = "/home/git
lab
/gitlab/"
app_dir = "/home/git/gitlab/"
worker_processes 2
worker_processes 2
working_directory app_dir
working_directory app_dir
...
...
doc/install/installation.md
View file @
867945d1
...
@@ -111,12 +111,6 @@ Create a `git` user for Gitlab:
...
@@ -111,12 +111,6 @@ Create a `git` user for Gitlab:
./bin/install
./bin/install
## Add domains to list to the list of known hosts
sudo -u git -H ssh git@localhost
sudo -u git -H ssh git@YOUR_DOMAIN_NAME
sudo -u git -H ssh git@YOUR_GITOLITE_DOMAIN_NAME
# 5. Database
# 5. Database
...
@@ -137,10 +131,10 @@ See `doc/install/databases.md`
...
@@ -137,10 +131,10 @@ See `doc/install/databases.md`
cd /home/git/gitlab
cd /home/git/gitlab
# Checkout to stable release
# Checkout to stable release
sudo -u git -H git checkout
4-1
-stable
sudo -u git -H git checkout
5-0
-stable
**Note:**
**Note:**
You can change
`
4-1
-stable`
to
`master`
if you want the
*bleeding edge*
version, but
You can change
`
5-0
-stable`
to
`master`
if you want the
*bleeding edge*
version, but
do so with caution!
do so with caution!
## Configure it
## Configure it
...
@@ -155,8 +149,8 @@ do so with caution!
...
@@ -155,8 +149,8 @@ do so with caution!
sudo -u git -H vim config/gitlab.yml
sudo -u git -H vim config/gitlab.yml
# Make sure GitLab can write to the log/ and tmp/ directories
# Make sure GitLab can write to the log/ and tmp/ directories
sudo chown -R git
lab
log/
sudo chown -R git log/
sudo chown -R git
lab
tmp/
sudo chown -R git tmp/
sudo chmod -R u+rwX log/
sudo chmod -R u+rwX log/
sudo chmod -R u+rwX tmp/
sudo chmod -R u+rwX tmp/
...
@@ -191,19 +185,6 @@ Make sure to update username/password in config/database.yml.
...
@@ -191,19 +185,6 @@ Make sure to update username/password in config/database.yml.
# Or for PostgreSQL
# Or for PostgreSQL
sudo -u git -H bundle install --deployment --without development test mysql
sudo -u git -H bundle install --deployment --without development test mysql
## Configure Git
GitLab needs to be able to commit and push changes to Gitolite. In order to do
that Git requires a username and email. (We recommend using the same address
used for the
`email.from`
setting in
`config/gitlab.yml`
)
sudo -u git -H git config --global user.name "GitLab"
sudo -u git -H git config --global user.email "gitlab@localhost"
## Setup GitLab Hooks
sudo cp ./lib/hooks/post-receive /home/git/.gitolite/hooks/common/post-receive
sudo chown git:git /home/git/.gitolite/hooks/common/post-receive
## Initialise Database and Activate Advanced Features
## Initialise Database and Activate Advanced Features
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment