Make sure we aren't storing anything in the tmp directory of the app in production
bess opened this issue · comments
set up appropriate configurations for all content typically stored in $RAILS_ROOT/tmp in development environments
https://github.com/curationexperts/epigaea/blob/80b78ded44ee21ee3ead3c7b19497f99f37c6fb6/config/deploy.rb#L37-L49
append :linked_dirs, "public/assets"
append :linked_dirs, "tmp/pids"
append :linked_dirs, "tmp/cache"
append :linked_dirs, "tmp/sockets"
append :linked_dirs, "log"
link the draft dir specified in config/environments/produciton.rb config.drafts_storage_dir
append :linked_dirs, "tmp/drafts"
link the draft dir specified in config/environments/production.rb config.exports_storage_dir
append :linked_dirs, "tmp/exports"
link the template dir specified in config/environments/produciton.rb config.templates_storage_dir
append :linked_dirs, "tmp/templates"
Already done.