-
Notifications
You must be signed in to change notification settings - Fork 645
Update .env-sample #941
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
Update .env-sample #941
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One little tweak then I think this will be good :)
.env.sample
Outdated
@@ -7,8 +7,8 @@ export DATABASE_URL= | |||
# export MIRROR=1 | |||
|
|||
# Key to sign and encrypt cookies with. Change this to a long, random string | |||
# for production. | |||
export SESSION_KEY=badkey | |||
# that is at least 32 bytes for production |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weren't you seeing dev not able to start if this wasn't at least 32 bytes all the time? So I think this should be split up differently, so that "32 bytes" isn't connected to "for production". Something like:
# Key to sign and encrypt cookies with. Must be at least 32 bytes. Change this
# to a long, random string for production.
?
bors: r+ |
Build succeeded |
Also addresses #937 and add notes for #909 in the .env-sample. Also decided to fix up an issue which we sometimes ran into with the
S3_GLOBAL
variable, which was noted in the CONTRIBUTING.md. I thusly removed those notes from there too :).