summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJob van der Voort <job@gitlab.com>2014-09-17 08:22:28 +0000
committerJob van der Voort <job@gitlab.com>2014-09-17 08:22:28 +0000
commit553680d04e84b91a5c01b0121da76b9c63956c57 (patch)
treedde581d2edc1029d9282bc0b0e1c766f74bdc2e1
parent39c47844193266642c9e56c10290d8df3ae74b3c (diff)
parente72b7cc250b473cec2c5a222f14247859f423936 (diff)
downloadgitlab-ce-553680d04e84b91a5c01b0121da76b9c63956c57.tar.gz
Merge branch 'doc/welcome_message' into 'master'
Document the extra.sign_in_text setting for CE See merge request !1027
-rw-r--r--doc/README.md1
-rw-r--r--doc/customization/welcome_message.md34
2 files changed, 35 insertions, 0 deletions
diff --git a/doc/README.md b/doc/README.md
index f05078ee388..a85f2b6256e 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -18,6 +18,7 @@
- [System hooks](system_hooks/system_hooks.md) Let GitLab notify you when certain management tasks need to be carried out.
- [Security](security/README.md) Learn what you can do to further secure your GitLab instance.
- [Update](update/README.md) Update guides to upgrade your installation.
+- [Welcome message](customization/welcome_message.md) Add a custom welcome message to the sign-in page.
## Contributor documentation
diff --git a/doc/customization/welcome_message.md b/doc/customization/welcome_message.md
new file mode 100644
index 00000000000..6000d389796
--- /dev/null
+++ b/doc/customization/welcome_message.md
@@ -0,0 +1,34 @@
+# Add a welcome message to the sign-in page (GitLab Community Edition)
+
+It is possible to add a markdown-formatted welcome message to your GitLab
+sign-in page. Users of GitLab Enterprise Edition should use the [branded login
+page feature](/ee/customization/branded_login_page.html) instead.
+
+## Omnibus-gitlab example
+
+In `/etc/gitlab/gitlab.rb`:
+
+```ruby
+gitlab_rails['extra_sign_in_text'] = <<'EOS'
+# ACME GitLab
+Welcome to the [ACME](http://www.example.com) GitLab server!
+EOS
+```
+
+Run `sudo gitlab-ctl reconfigure` for changes to take effect.
+
+## Installation from source
+
+In `/home/git/gitlab/config/gitlab.yml`:
+
+```yaml
+# snip
+production:
+ # snip
+ extra:
+ sign_in_text: |
+ # ACME GitLab
+ Welcome to the [ACME](http://www.example.com) GitLab server!
+```
+
+Run `sudo service gitlab reload` for the change to take effect.