Commit d2d566b162b60a2d310dfcdbcd0963c2156dd5ae

Authored by Dmitriy Zaporozhets
2 parents 8dd6af14 a8b544ed

Merge branch 'master' of github.com:gitlabhq/gitlabhq

app/views/admin/teams/projects/new.html.haml
... ... @@ -8,7 +8,7 @@
8 8 .input
9 9 = select_tag :project_ids, options_from_collection_for_select(@projects , :id, :name_with_namespace), multiple: true, data: {placeholder: 'Select projects'}, class: 'chosen span5'
10 10  
11   - %h6 Choose greatest user acces for your team in this projects:
  11 + %h6 Choose greatest user access for your team in these projects:
12 12 .clearfix
13 13 = label_tag :greatest_project_access, "Greatest Access"
14 14 .input
... ...
app/views/projects/teams/available.html.haml
... ... @@ -10,7 +10,7 @@
10 10 .padded
11 11 = label_tag :team_id, "Team"
12 12 .input= select_tag(:team_id, options_from_collection_for_select(@teams, :id, :name), prompt: "Select team", class: "chosen xxlarge", required: true)
13   - %p.slead Choose greatest user acces in team you want to assign:
  13 + %p.slead Choose greatest user access for your team in this project:
14 14 .padded
15 15 = label_tag :team_ids, "Permission"
16 16 .input= select_tag :greatest_project_access, options_for_select(UserTeam.access_roles), {class: "project-access-select chosen span3" }
... ...
doc/install/installation.md
... ... @@ -42,11 +42,13 @@ up-to-date and install it.
42 42 apt-get install sudo -y
43 43  
44 44 **Note:**
45   -Vim is an editor that is used here whenever there are files that need to be
46   -edited by hand. But, you can use any editor you like instead.
  45 +During this installation some files will need to be edited manually.
  46 +If you are familiar with vim set it as default editor with the commands below.
  47 +If you are not familiar with vim please skip this and keep using the default editor.
47 48  
48   - # Install vim
  49 + # Install vim and set as default editor
49 50 sudo apt-get install -y vim
  51 + sudo update-alternatives --set editor /usr/bin/vim.basic
50 52  
51 53 Install the required packages:
52 54  
... ... @@ -123,7 +125,7 @@ GitLab Shell is a ssh access and repository management software developed specia
123 125  
124 126 # Edit config and replace gitlab_url
125 127 # with something like 'http://domain.com/'
126   - sudo -u git -H vim config.yml
  128 + sudo -u git -H editor config.yml
127 129  
128 130 # Do setup
129 131 sudo -u git -H ./bin/install
... ... @@ -162,7 +164,7 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version,
162 164  
163 165 # Make sure to change "localhost" to the fully-qualified domain name of your
164 166 # host serving GitLab where necessary
165   - sudo -u git -H vim config/gitlab.yml
  167 + sudo -u git -H editor config/gitlab.yml
166 168  
167 169 # Make sure GitLab can write to the log/ and tmp/ directories
168 170 sudo chown -R git log/
... ... @@ -188,7 +190,7 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version,
188 190  
189 191 # Enable cluster mode if you expect to have a high load instance
190 192 # Ex. change amount of workers to 3 for 2GB RAM server
191   - sudo -u git -H vim config/puma.rb
  193 + sudo -u git -H editor config/puma.rb
192 194  
193 195 # Configure Git global settings for git user, useful when editing via web
194 196 # Edit user.email according to what is set in gitlab.yml
... ... @@ -214,7 +216,7 @@ Make sure to edit both `gitlab.yml` and `puma.rb` to match your setup.
214 216 # Change 'root' to 'gitlab'
215 217 # Change 'secure password' with the value you have given to $password
216 218 # You can keep the double quotes around the password
217   - sudo -u git -H vim config/database.yml
  219 + sudo -u git -H editor config/database.yml
218 220  
219 221 # Make config/database.yml readable to git only
220 222 sudo -u git -H chmod o-rwx config/database.yml
... ... @@ -295,7 +297,7 @@ Make sure to edit the config file to match your setup:
295 297  
296 298 # Change YOUR_SERVER_FQDN to the fully-qualified
297 299 # domain name of your host serving GitLab.
298   - sudo vim /etc/nginx/sites-available/gitlab
  300 + sudo editor /etc/nginx/sites-available/gitlab
299 301  
300 302 ## Restart
301 303  
... ...