-
Notifications
You must be signed in to change notification settings - Fork 172
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
Environment Variables guide #224
Comments
Which section do you see that fitting best under in the Guide? Dotenv is easy enough but the |
@cllns Please do 👍 Be sure to make clear the security concerns of having a |
@jodosha why not add |
I noticed HANAMI_ENV is nowhere mentioned in the guides. |
I also had trouble finding documentation on I'd love to help documenting this, but similar to the comment by @vladdypwnz, I'm new to Hanami and not sure where a section on environment variables belongs in the Guides. If anyone could give some pointers, that would be great. |
Because |
@cllns I think this guide should be under Guides -> Projects section. It should include the details mentioned in the comment above ☝️ and how to use Dotenv. |
Right now we use
dotenv
indevelopment
andtest
environments, but not production. This issue has effected several people in the chat.We should consider adding a guide for Environment variables. Specifically, explain how they're set in
development
andtest
, as well as offer some suggestions for how to set them in production (heroku config:set
,.env.production
combined with an entry in.gitignore
, or even.bashrc
).We can talk about
SERVE_STATIC_ASSETS
andAPPNAME_SESSIONS_SECRET
there too.The text was updated successfully, but these errors were encountered: