lib/generators/spina/templates/spina.rb in spina-0.6.29 vs lib/generators/spina/templates/spina.rb in spina-0.7.0
- old
+ new
@@ -1,10 +1,29 @@
Spina::Engine.configure do
config.NEGATIVE_CAPTCHA_SECRET = '<%= SecureRandom.hex(64) %>'
- # If you want to use s3 to store uploads
+ # Important Note
+ # ==============
+ #
+ # You MUST restart your server before changes to this file
+ # will take effect.
+ #
+ # Storage Options
+ # ===============
+ #
+ # Please specify how you want to store photos, your logo, and
+ # other files. We use CarrierWave for storage. See
+ # https://github.com/denkGroot/Spina/tree/master/app/uploaders/spina
+ #
+ # If you want to use s3 to store uploads (recommended)
+ #
# config.storage = :s3
# config.aws_region = "eu-west-1"
# config.aws_access_key_id = "abc123"
# config.aws_secret_key = "abc123"
# config.s3_bucket = "mybucket"
-end
\ No newline at end of file
+ # If you want to store your files localy (not recommended for
+ # production, in large part because it's more difficult to ensure
+ # that files are backed up in sync with your database):
+ #
+ # config.storage = :file
+end