summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-06 22:08:51 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-06 22:08:51 -0700
commite0343713e9232a9de15e66e1fdbc9e4dd7cf3af4 (patch)
tree155f6c94542ba39d9d0a87ec7a46957768e46f2a
parente1f23b3bfbe6951c15f0096965368f33c261d0e4 (diff)
parent6c0be0701ef7853ea6beffc73ecb45468eb292ad (diff)
downloadgitlab-ci-e0343713e9232a9de15e66e1fdbc9e4dd7cf3af4.tar.gz
Merge pull request #289 from nathan-v/patch-1
Update to match the style of the installation file for GitLab
-rw-r--r--doc/installation.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/installation.md b/doc/installation.md
index 9969c3f..aa8333a 100644
--- a/doc/installation.md
+++ b/doc/installation.md
@@ -9,11 +9,14 @@ up-to-date and install it.
sudo apt-get upgrade
**Note:**
-Vim is an editor that is used here whenever there are files that need to be
-edited by hand. But, you can use any editor you like instead.
+During this installation some files will need to be edited manually. If
+you are familiar with vim set it as default editor with the commands
+below. If you are not familiar with vim please skip this and keep using
+the default editor.
# Install vim
sudo apt-get install -y vim
+ sudo update-alternatives --set editor /usr/bin/vim.basic
Install the required packages:
@@ -99,11 +102,11 @@ You can use either MySQL or PostgreSQL.
# Edit application settings
sudo -u gitlab_ci -H cp config/application.yml.example config/application.yml
- sudo -u gitlab_ci -H vim config/application.yml
+ sudo -u gitlab_ci -H editor config/application.yml
# Edit web server settings
sudo -u gitlab_ci -H cp config/puma.rb.example config/puma.rb
- sudo -u gitlab_ci -H vim config/puma.rb
+ sudo -u gitlab_ci -H editor config/puma.rb
# Create socket and pid directories
sudo -u gitlab_ci -H mkdir -p tmp/sockets/
@@ -128,7 +131,7 @@ You can use either MySQL or PostgreSQL.
sudo -u gitlab_ci -H cp config/database.yml.postgresql config/database.yml
# Edit user/password
- sudo -u gitlab_ci -H vim config/database.yml
+ sudo -u gitlab_ci -H editor config/database.yml
# Setup tables
sudo -u gitlab_ci -H bundle exec rake db:setup RAILS_ENV=production
@@ -176,7 +179,7 @@ Make sure to edit the config file to match your setup:
# Change **YOUR_SERVER_IP** and **YOUR_SERVER_FQDN**
# to the IP address and fully-qualified domain name
# of your host serving GitLab CI
- sudo vim /etc/nginx/sites-enabled/gitlab_ci
+ sudo editor /etc/nginx/sites-enabled/gitlab_ci
## Reload configuration