diff options
| author | mo khan <mo@mokhan.ca> | 2015-08-14 14:19:44 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-08-14 14:19:44 -0600 |
| commit | 6eed2b25dc8b548866d9279ce5ad4ab1a1dbc1e4 (patch) | |
| tree | da26d0eef3fccb21b19c8f320a24930e81a49885 | |
| parent | a933c1a0be14d1d52ec74e98b65429fb9d9d853b (diff) | |
copy the .env.example file.
| -rwxr-xr-x | bin/setup | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ Dir.chdir APP_ROOT do # unless File.exist?("config/database.yml") # system "cp config/database.yml.sample config/database.yml" # end + puts "\n== Copying dotenv file ==" + unless File.exist?(".env.local") + system "cp .env.example .env.local" + end puts "\n== Preparing database ==" system "bin/rake db:setup" |
