Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-20 03:43:36 +0300
committerDouwe Maan <douwe@gitlab.com>2015-08-20 03:43:36 +0300
commit19a049ece9e350623e3adb141298c00344cab02d (patch)
tree2066ce93c0345d730358710295d0db65c65b5978 /doc
parent9501495aeb512202dc4ce1a88afb39d66f3d39f1 (diff)
Make documentation clearer.
Diffstat (limited to 'doc')
-rw-r--r--doc/install/installation.md2
-rw-r--r--doc/reply_by_email/README.md19
2 files changed, 19 insertions, 2 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 202704088a6..c75e1d87862 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -370,7 +370,7 @@ Make sure to edit the config file to match your setup:
# domain name of your host serving GitLab.
# If using Ubuntu default nginx install:
# either remove the default_server from the listen line
- # or else rm -f /etc/sites-enabled/default
+ # or else sudo rm -f /etc/nginx/sites-enabled/default
sudo editor /etc/nginx/sites-available/gitlab
**Note:** If you want to use HTTPS, replace the `gitlab` Nginx config with `gitlab-ssl`. See [Using HTTPS](#using-https) for HTTPS configuration details.
diff --git a/doc/reply_by_email/README.md b/doc/reply_by_email/README.md
index fffc120d2bb..e168e9a17e4 100644
--- a/doc/reply_by_email/README.md
+++ b/doc/reply_by_email/README.md
@@ -10,8 +10,17 @@ In this example, we'll use the Gmail address `gitlab-replies@gmail.com`. If you'
### Installations from source
+1. Go to the GitLab installation directory:
+
+ ```sh
+ cd /home/git/gitlab
+ ```
1. Find the `reply_by_email` section in `config/gitlab.yml`, enable the feature and enter the email address including a placeholder for the `reply_key`:
+
+ ```sh
+ sudo editor config/gitlab.yml
+ ```
```yaml
reply_by_email:
@@ -24,11 +33,15 @@ In this example, we'll use the Gmail address `gitlab-replies@gmail.com`. If you'
2. Find `config/mail_room.yml.example` and copy it to `config/mail_room.yml`:
```sh
- cp config/mail_room.yml.example config/mail_room.yml
+ sudo cp config/mail_room.yml.example config/mail_room.yml
```
3. Uncomment the configuration options in `config/mail_room.yml` and fill in the details for your specific IMAP server and email account:
+ ```sh
+ sudo editor config/mail_room.yml
+ ```
+
```yaml
:mailboxes:
-
@@ -67,6 +80,10 @@ In this example, we'll use the Gmail address `gitlab-replies@gmail.com`. If you'
5. Edit `/etc/default/gitlab` to enable `mail_room`:
```sh
+ sudo editor /etc/default/gitlab
+ ```
+
+ ```sh
mail_room_enabled=true
```