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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
a851bf32
Commit
a851bf32
authored
May 13, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
5b64d8a0
0a7216ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
doc/install/installation.md
doc/install/installation.md
+30
-0
No files found.
doc/install/installation.md
View file @
a851bf32
...
...
@@ -448,6 +448,18 @@ sudo -u git cp config/database.yml.postgresql config/database.yml
# MySQL only:
sudo
-u
git
cp
config/database.yml.mysql config/database.yml
# PostgreSQL only:
# Remove host, username, and password lines from config/database.yml.
# Once modified, the `production` settings will be as follows:
#
# production:
# adapter: postgresql
# encoding: unicode
# database: gitlabhq_production
# pool: 10
#
sudo
-u
git
-H
editor config/database.yml
# MySQL and remote PostgreSQL only:
# Update username/password in config/database.yml.
# You only need to adapt the production settings (first part).
...
...
@@ -565,6 +577,18 @@ sudo -u git -H editor config.toml
For more information about configuring Gitaly see
[
doc/administration/gitaly
](
../administration/gitaly
)
.
### Start Gitaly
Gitaly must be running for the next section.
```
sh
gitlab_path
=
/home/git/gitlab
gitaly_path
=
/home/git/gitaly
sudo
-u
git
-H
$gitlab_path
/bin/daemon_with_pidfile
$gitlab_path
/tmp/pids/gitaly.pid
\
$gitaly_path
/gitaly
$gitaly_path
/config.toml
>>
$gitlab_path
/log/gitaly.log 2>&1 &
```
### Initialize Database and Activate Advanced Features
```
sh
...
...
@@ -640,6 +664,12 @@ sudo -u git -H yarn install --production --pure-lockfile
sudo
-u
git
-H
bundle
exec
rake gitlab:assets:compile
RAILS_ENV
=
production
NODE_ENV
=
production
```
If
`rake`
fails with
`JavaScript heap out of memory`
error, try to run it with
`NODE_OPTIONS`
set as follows.
```
sh
sudo
-u
git
-H
bundle
exec
rake gitlab:assets:compile
RAILS_ENV
=
production
NODE_ENV
=
production
NODE_OPTIONS
=
"--max_old_space_size=4096"
```
### Start Your GitLab Instance
```
sh
...
...
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