Skip to content

Conversation

BLaurenB
Copy link
Owner

@BLaurenB BLaurenB commented Nov 8, 2017

@s-espinosa
@icorson3
I'm getting really confused, and my teammates really want me to reach out to you for help. I have been trying to do it myself using docs and other resources.

I am really confused about what to put in various files for using Figaro, Paperclip, and Heroku all together. I don't think other classmates are using figaro. Even though I tried to get things set up correctly, I still ended up pushing my AWS keys and secret keys to GitHub last night.

This is a master version that doesn't have full functionality but I've been working on it to get paperclip working. Paperclip was working on localhost, but I couldn't get it to work via heroku.

@ghost ghost assigned BLaurenB Nov 8, 2017
@ghost ghost added the review label Nov 8, 2017
@@ -1,4 +1,16 @@
Rails.application.configure do

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@s-espinosa @icorson3
I think this might be set up right, but I'm not sure.


# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false
config.assets.compile = true
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@s-espinosa @icorson3 I see a lot of conflicting information about setting this to true or false

Copy link
Owner Author

@BLaurenB BLaurenB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry if I used callouts too much, I thought it'd be easier to point you to my questions.


# Environmental secrets are only available for that specific environment.

development:
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@s-espinosa @icorson3 I tried to remove this, but for some reason it still got pushed to GH?


production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
secret_key_base: <%= Figaro.env.secret_key_base %>
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@s-espinosa @icorson3
I think this is correct, but I'm not sure how to input the AWS variables that heroku needs. Or they might not need to be saved here because I'm also setting them using terminal commands heroku config AWS_THINGY=random5stuff3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants