mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
commit98cce1ceceAuthor: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 22:32:13 2014 +0000 precompile assets commit5d8ee6b0b9Author: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 22:30:10 2014 +0000 show map on location page commit0bbbf65be6Author: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 22:18:43 2014 +0000 upload + read works oh god that took long enough commit8ca38110d3Author: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 19:48:23 2014 +0000 halve the number of transformations needed on map uploads commit866ad0f32cAuthor: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 19:48:03 2014 +0000 add aws credentials to dev environment commitf55dc796faAuthor: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 19:34:20 2014 +0000 imagemagick gem for image resizing commit666e7ac260Author: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 19:18:55 2014 +0000 add dev s3 bucket for testing commit9984a475e8Author: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 19:17:45 2014 +0000 add upload form to locations#new commit72ed656e82Author: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 19:05:25 2014 +0000 use mongoid-paperclip instead of paperclip commit01204e1443Author: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 19:00:38 2014 +0000 add attached_file property to location model commit3097be4a5aAuthor: Andrew Brown <drusepth@gmail.com> Date: Tue Jan 7 18:58:25 2014 +0000 set paperclip aws config
40 lines
1.3 KiB
Ruby
40 lines
1.3 KiB
Ruby
PlanCharacters::Application.configure do
|
|
# Settings specified here will take precedence over those in config/application.rb
|
|
|
|
# In the development environment your application's code is reloaded on
|
|
# every request. This slows down response time but is perfect for development
|
|
# since you don't have to restart the web server when you make code changes.
|
|
config.cache_classes = false
|
|
|
|
# Log error messages when you accidentally call methods on nil.
|
|
config.whiny_nils = true
|
|
|
|
# Show full error reports and disable caching
|
|
config.consider_all_requests_local = true
|
|
config.action_controller.perform_caching = false
|
|
|
|
# Don't care if the mailer can't send
|
|
config.action_mailer.raise_delivery_errors = false
|
|
|
|
# Print deprecation notices to the Rails logger
|
|
config.active_support.deprecation = :log
|
|
|
|
# Only use best-standards-support built into browsers
|
|
config.action_dispatch.best_standards_support = :builtin
|
|
|
|
# Do not compress assets
|
|
config.assets.compress = false
|
|
|
|
# DEVELOPMENT S3 settings for Paperclip uploads ON DEVELOPMENT
|
|
config.paperclip_defaults = {
|
|
:storage => :s3,
|
|
:s3_protocol => 'http',
|
|
:s3_credentials => {
|
|
:bucket => ENV['AWS_BUCKET'],
|
|
:access_key_id => ENV['AWS_ACCESS_KEY_ID'],
|
|
:secret_access_key => ENV['AWS_SECRET_ACCESS_KEY']
|
|
}
|
|
}
|
|
|
|
end
|