diff options
| author | Stephen Peasley <s@stephenpeasley.com> | 2014-12-29 08:46:09 -0700 |
|---|---|---|
| committer | Stephen Peasley <s@stephenpeasley.com> | 2014-12-29 08:46:09 -0700 |
| commit | 6c04c168e7448ad151fd7f2e3fbd4afafca93c61 (patch) | |
| tree | 68efbd38a272943f4baaa9f94e7e181b9ba0b3ab /bin/setup | |
| parent | 44a9da3069f7c5b788ad76ca5be10e727b3a9d98 (diff) | |
Add database config copy to setup
Diffstat (limited to 'bin/setup')
| -rwxr-xr-x | bin/setup | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -12,10 +12,10 @@ Dir.chdir APP_ROOT do system "gem install bundler --conservative" system "bundle check || bundle install" - # puts "\n== Copying sample files ==" - # unless File.exist?("config/database.yml") - # system "cp config/database.yml.sample config/database.yml" - # end + puts "\n== Copying sample files ==" + unless File.exist?("config/database.yml") + system "cp config/database.yml.example config/database.yml" + end puts "\n== Preparing database ==" system "bin/rake db:setup" |
