ga-wdi-boston / full-stack-project

Other
8 stars 64 forks source link

cannot set secret keys :( #1045

Closed jingrid closed 7 years ago

jingrid commented 7 years ago

Tried to run bin/rails server, kept getting errors, even though I had the secret keys in .env from when I originally worked on the project prior to presentations.

So I hardcoded one into secrets.yml, but I feel like that's not what I should be doing. Not sure how I can get the .env file working?

cpearce31 commented 7 years ago

Did you maybe have the name of the secret key wrong in .env? It has to be exactly SECRET_KEY_BASE_DEVELOPMENT=<your_secret_key> and SECRET_KEY_BASE_TEST=<your_secret_key>

jordanallain commented 7 years ago

@jingrid ?

tvcrawley commented 7 years ago

@jingrid Is this still an issue?

jingrid commented 7 years ago

Yea i think it was the naming, changed it to what @cpearce31 has above and it worked.

Also sorry for taking so long to update/respond.