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
d2d566b1
Commit
d2d566b1
authored
Jul 10, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:gitlabhq/gitlabhq
parents
8dd6af14
a8b544ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
app/views/admin/teams/projects/new.html.haml
app/views/admin/teams/projects/new.html.haml
+1
-1
app/views/projects/teams/available.html.haml
app/views/projects/teams/available.html.haml
+1
-1
doc/install/installation.md
doc/install/installation.md
+10
-8
No files found.
app/views/admin/teams/projects/new.html.haml
View file @
d2d566b1
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
.input
.input
=
select_tag
:project_ids
,
options_from_collection_for_select
(
@projects
,
:id
,
:name_with_namespace
),
multiple:
true
,
data:
{
placeholder:
'Select projects'
},
class:
'chosen span5'
=
select_tag
:project_ids
,
options_from_collection_for_select
(
@projects
,
:id
,
:name_with_namespace
),
multiple:
true
,
data:
{
placeholder:
'Select projects'
},
class:
'chosen span5'
%h6
Choose greatest user acces
for your team in this
projects:
%h6
Choose greatest user acces
s for your team in these
projects:
.clearfix
.clearfix
=
label_tag
:greatest_project_access
,
"Greatest Access"
=
label_tag
:greatest_project_access
,
"Greatest Access"
.input
.input
...
...
app/views/projects/teams/available.html.haml
View file @
d2d566b1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
.padded
.padded
=
label_tag
:team_id
,
"Team"
=
label_tag
:team_id
,
"Team"
.input
=
select_tag
(
:team_id
,
options_from_collection_for_select
(
@teams
,
:id
,
:name
),
prompt:
"Select team"
,
class:
"chosen xxlarge"
,
required:
true
)
.input
=
select_tag
(
:team_id
,
options_from_collection_for_select
(
@teams
,
:id
,
:name
),
prompt:
"Select team"
,
class:
"chosen xxlarge"
,
required:
true
)
%p
.slead
Choose greatest user acces
in team you want to assign
:
%p
.slead
Choose greatest user acces
s for your team in this project
:
.padded
.padded
=
label_tag
:team_ids
,
"Permission"
=
label_tag
:team_ids
,
"Permission"
.input
=
select_tag
:greatest_project_access
,
options_for_select
(
UserTeam
.
access_roles
),
{
class:
"project-access-select chosen span3"
}
.input
=
select_tag
:greatest_project_access
,
options_for_select
(
UserTeam
.
access_roles
),
{
class:
"project-access-select chosen span3"
}
...
...
doc/install/installation.md
View file @
d2d566b1
...
@@ -42,11 +42,13 @@ up-to-date and install it.
...
@@ -42,11 +42,13 @@ up-to-date and install it.
apt-get install sudo -y
apt-get install sudo -y
**Note:**
**Note:**
Vim is an editor that is used here whenever there are files that need to be
During this installation some files will need to be edited manually.
edited by hand. But, you can use any editor you like instead.
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
# Install vim
and set as default editor
sudo apt-get install -y vim
sudo apt-get install -y vim
sudo update-alternatives --set editor /usr/bin/vim.basic
Install the required packages:
Install the required packages:
...
@@ -123,7 +125,7 @@ GitLab Shell is a ssh access and repository management software developed specia
...
@@ -123,7 +125,7 @@ GitLab Shell is a ssh access and repository management software developed specia
# Edit config and replace gitlab_url
# Edit config and replace gitlab_url
# with something like 'http://domain.com/'
# with something like 'http://domain.com/'
sudo -u git -H
vim
config.yml
sudo -u git -H
editor
config.yml
# Do setup
# Do setup
sudo -u git -H ./bin/install
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,7 +164,7 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version,
# Make sure to change "localhost" to the fully-qualified domain name of your
# Make sure to change "localhost" to the fully-qualified domain name of your
# host serving GitLab where necessary
# host serving GitLab where necessary
sudo -u git -H
vim
config/gitlab.yml
sudo -u git -H
editor
config/gitlab.yml
# Make sure GitLab can write to the log/ and tmp/ directories
# Make sure GitLab can write to the log/ and tmp/ directories
sudo chown -R git log/
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,7 +190,7 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version,
# Enable cluster mode if you expect to have a high load instance
# Enable cluster mode if you expect to have a high load instance
# Ex. change amount of workers to 3 for 2GB RAM server
# Ex. change amount of workers to 3 for 2GB RAM server
sudo -u git -H
vim
config/puma.rb
sudo -u git -H
editor
config/puma.rb
# Configure Git global settings for git user, useful when editing via web
# Configure Git global settings for git user, useful when editing via web
# Edit user.email according to what is set in gitlab.yml
# 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,7 +216,7 @@ Make sure to edit both `gitlab.yml` and `puma.rb` to match your setup.
# Change 'root' to 'gitlab'
# Change 'root' to 'gitlab'
# Change 'secure password' with the value you have given to $password
# Change 'secure password' with the value you have given to $password
# You can keep the double quotes around the password
# You can keep the double quotes around the password
sudo -u git -H
vim
config/database.yml
sudo -u git -H
editor
config/database.yml
# Make config/database.yml readable to git only
# Make config/database.yml readable to git only
sudo -u git -H chmod o-rwx config/database.yml
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,7 +297,7 @@ Make sure to edit the config file to match your setup:
# Change YOUR_SERVER_FQDN to the fully-qualified
# Change YOUR_SERVER_FQDN to the fully-qualified
# domain name of your host serving GitLab.
# domain name of your host serving GitLab.
sudo
vim
/etc/nginx/sites-available/gitlab
sudo
editor
/etc/nginx/sites-available/gitlab
## Restart
## Restart
...
...
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