Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
usermanager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Schneider
usermanager
Commits
5956e063
Commit
5956e063
authored
5 years ago
by
Thomas Schneider
Browse files
Options
Downloads
Patches
Plain Diff
Remove database config from repo
parent
91d316f0
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
bin/setup
+4
-4
4 additions, 4 deletions
bin/setup
config/database.yml.sample
+0
-0
0 additions, 0 deletions
config/database.yml.sample
with
5 additions
and
4 deletions
.gitignore
+
1
−
0
View file @
5956e063
...
...
@@ -25,3 +25,4 @@
*.enc
/config/ldap.yml
/config/database.yml
This diff is collapsed.
Click to expand it.
bin/setup
+
4
−
4
View file @
5956e063
...
...
@@ -19,10 +19,10 @@ FileUtils.chdir APP_ROOT do
system
!
'gem install bundler --conservative'
system
(
'bundle check'
)
||
system
!
(
'bundle install'
)
#
puts "\n== Copying sample files =="
#
unless File.exist?('config/database.yml')
#
FileUtils.cp 'config/database.yml.sample', 'config/database.yml'
#
end
puts
"
\n
== Copying sample files =="
unless
File
.
exist?
(
'config/database.yml'
)
FileUtils
.
cp
'config/database.yml.sample'
,
'config/database.yml'
end
puts
"
\n
== Preparing database =="
system
!
'bin/rails db:prepare'
...
...
This diff is collapsed.
Click to expand it.
config/database.yml
→
config/database.yml
.sample
+
0
−
0
View file @
5956e063
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment