diff --git a/bin/setup b/bin/setup index 0e39e8c..5fae1df 100755 --- a/bin/setup +++ b/bin/setup @@ -17,10 +17,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' diff --git a/config/sample.database.yml b/config/database.yml.sample similarity index 100% rename from config/sample.database.yml rename to config/database.yml.sample