Permalink
Browse files

Setup from scratch with 'rake setup'

  • Loading branch information...
1 parent a21c7f7 commit be93224b0562e12673a8971882b0bb98619316d5 @sudara committed Mar 27, 2013
Showing with 6 additions and 3 deletions.
  1. +1 −1 config/alonetone.example.yml
  2. +5 −2 lib/tasks/{copy_config.rake → setup.rake}
@@ -4,7 +4,7 @@ development: &defaults
app_name: YourAppName
url: yourapp.com
email: support@yourapp.com
- secret: yourappsecret
+ secret: f041541efd6d104c7051041ec61e7aa5
storage: local
bucket:
amazon_id:
@@ -1,5 +1,9 @@
require 'rake'
+desc "Setup alonetone from scratch (copy config, create/seed db)"
+task :setup => [:copy_config, :environment, 'db:setup']
+
+
desc "Copy application sample config for dev/test purposes"
task :copy_config do
if Rails.env.development? or Rails.env.test?
@@ -16,5 +20,4 @@ task :copy_config do
end
end
-# Run our copy config task before loading up the rails env
-task :environment, [] => :copy_config
+

0 comments on commit be93224

Please sign in to comment.