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
Léo-Paul Géneau
gitlab-ce
Commits
c6f5b96b
Commit
c6f5b96b
authored
Feb 20, 2013
by
Mike Wyatt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow force=yes rake gitlab:setup for capistrano deploy:cold
parent
bed50009
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lib/tasks/gitlab/setup.rake
lib/tasks/gitlab/setup.rake
+6
-4
No files found.
lib/tasks/gitlab/setup.rake
View file @
c6f5b96b
...
@@ -7,10 +7,12 @@ namespace :gitlab do
...
@@ -7,10 +7,12 @@ namespace :gitlab do
def
setup_db
def
setup_db
warn_user_is_not_gitlab
warn_user_is_not_gitlab
puts
"This will create the necessary database tables and seed the database."
unless
ENV
[
'force'
]
==
'yes'
puts
"You will lose any previous data stored in the database."
puts
"This will create the necessary database tables and seed the database."
ask_to_continue
puts
"You will lose any previous data stored in the database."
puts
""
ask_to_continue
puts
""
end
Rake
::
Task
[
"db:setup"
].
invoke
Rake
::
Task
[
"db:setup"
].
invoke
Rake
::
Task
[
"db:seed_fu"
].
invoke
Rake
::
Task
[
"db:seed_fu"
].
invoke
...
...
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