Skip to content

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

Merged
merged 2 commits into from
Aug 14, 2017
Merged

Update .env-sample #941

merged 2 commits into from
Aug 14, 2017

Conversation

vignesh-sankaran
Copy link
Contributor

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 :).

Copy link
Member

@carols10cents carols10cents left a 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
Copy link
Member

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.

?

@carols10cents
Copy link
Member

bors: r+

bors-voyager bot added a commit that referenced this pull request Aug 14, 2017
941: Update .env-sample r=carols10cents

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 :).
@bors-voyager
Copy link
Contributor

bors-voyager bot commented Aug 14, 2017

Build succeeded

@bors-voyager bors-voyager bot merged commit a346010 into rust-lang:master Aug 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants