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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
a136247f
Commit
a136247f
authored
Oct 14, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
easy update/install
parent
4fe65eb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
install.rb
install.rb
+0
-3
update.rb
update.rb
+2
-2
No files found.
install.rb
View file @
a136247f
...
@@ -14,9 +14,6 @@ env = if envs.include?(ARGV[0])
...
@@ -14,9 +14,6 @@ env = if envs.include?(ARGV[0])
puts
green
" == Install for ENV=
#{
env
}
..."
puts
green
" == Install for ENV=
#{
env
}
..."
# pull from github
`git pull origin 1x`
# bundle install
# bundle install
if
env
==
"production"
if
env
==
"production"
`bundle install --without development test`
`bundle install --without development test`
...
...
update.rb
View file @
a136247f
...
@@ -12,10 +12,10 @@ env = if envs.include?(ARGV[0])
...
@@ -12,10 +12,10 @@ env = if envs.include?(ARGV[0])
"production"
"production"
end
end
puts
green
" == Update for ENV=
#{
env
}
from 1x
"
puts
green
" == Update for ENV=
#{
env
}
"
# pull from github
# pull from github
`git pull
origin 1x
`
`git pull`
# bundle install
# bundle install
if
env
==
"production"
if
env
==
"production"
...
...
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