Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Changing to Producton #30

Open
milezzz opened this issue Aug 11, 2016 · 1 comment
Open

Changing to Producton #30

milezzz opened this issue Aug 11, 2016 · 1 comment

Comments

@milezzz
Copy link

milezzz commented Aug 11, 2016

Excuse me guys I have limited experience with RoR so this will be basic stuff.

I finally managed to get Stories running in production mode with:

RAILS_ENV=production bundle exec rake assets:precompile

I ran into a few errors but it was a matter of setting proper options in /config.

I then run my app with:

rails server -e production

My question is that most of the images (posts featured images and user avatars) are now linked to S3. I was wondering how do I properly configure this AND do I need to run a special command to copy all images to the S3 server?

I should have some improvements to contribute soon. Thanks!

@milezzz
Copy link
Author

milezzz commented Aug 13, 2016

This can be closed. Settings for S3 are in config/environments/production.rb

Seems to work great...unbelievably fast with S3!

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

No branches or pull requests

1 participant