Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Setup from scratch with 'rake setup'

  • Loading branch information...
commit be93224b0562e12673a8971882b0bb98619316d5 1 parent a21c7f7
Sudara authored
2  config/alonetone.example.yml
View
@@ -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:
7 lib/tasks/copy_config.rake → lib/tasks/setup.rake
View
@@ -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
+
Please sign in to comment.
Something went wrong with that request. Please try again.