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
912a383d
Commit
912a383d
authored
Oct 14, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
w/o option was a bad idea
parent
6a60365f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
install.rb
install.rb
+0
-4
update.rb
update.rb
+0
-5
No files found.
install.rb
View file @
912a383d
...
@@ -15,11 +15,7 @@ env = if envs.include?(ARGV[0])
...
@@ -15,11 +15,7 @@ env = if envs.include?(ARGV[0])
puts
green
" == Install for ENV=
#{
env
}
..."
puts
green
" == Install for ENV=
#{
env
}
..."
# bundle install
# bundle install
if
env
==
"production"
`bundle install --without development test`
else
`bundle install`
`bundle install`
end
# migrate db
# migrate db
`bundle exec rake db:create RAILS_ENV=
#{
env
}
`
`bundle exec rake db:create RAILS_ENV=
#{
env
}
`
...
...
update.rb
View file @
912a383d
...
@@ -17,12 +17,7 @@ puts green " == Update for ENV=#{env}"
...
@@ -17,12 +17,7 @@ puts green " == Update for ENV=#{env}"
# pull from github
# pull from github
`git pull`
`git pull`
# bundle install
if
env
==
"production"
`bundle install --without development test`
else
`bundle install`
`bundle install`
end
# migrate db
# migrate db
`bundle exec rake db:migrate RAILS_ENV=
#{
env
}
`
`bundle exec rake db:migrate RAILS_ENV=
#{
env
}
`
...
...
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