Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Paperclipped on Heroku?

I was curious if anyone could get paperclipped working on Heroku without using S3. I'm assuming Heroku is a read-only system, but there must be some way to save images there.

like image 952
Trip Avatar asked Feb 23 '11 20:02

Trip


1 Answers

You can't write to Heroku's file system, so no, there is no way to save images the way you want. Your options are using a service like S3, or storing them in the database. I recommend using S3, because databases are not optimized for file storage. It's worth reading Heroku's documentation on file uploads.

like image 55
Intelekshual Avatar answered Oct 27 '22 11:10

Intelekshual