Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to allow for s3 storage from paperclip. #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JangoSteve
Copy link
Contributor

I updated citizenry to allow for s3 storage from paperclip (for the avatar and logo uploads/import from url). It still uses the filesystem by default (just as before), but now allows the user to easily change it to s3 from the settings.yml.

This would also allow for easier hosting on heroku (see #45), since it's necessary to persist images across deploys.

@JangoSteve
Copy link
Contributor Author

FYI, deploying on heroku will seem to work without this pull request, but then when you git push heroku, all of your images for people, companies, and groups will be wiped out, breaking all the images on your site.

If you pull this in, then the framework is totally heroku-ready. I'll update the heroku wiki with the 2 steps required to switch to amazon s3 for image uploading after this is pulled in (basically, uncomment a line in the Gemfile and uncomment 3 lines in the app_settings.yml).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant