Skip to content

Improve environment variable setup for development #684

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 3 commits into from
Apr 28, 2017

Conversation

carols10cents
Copy link
Member

@carols10cents carols10cents commented Apr 21, 2017

Upgrade to dotenv 0.10.0 since that version considers key= lines to be valid with a blank value. With 0.9.0, I've seen errors because of the export S3_REGION= # not needed if the S3 bucket is in US standard line, and the errors look like they're saying that the GIT_REPO_URL var isn't set instead, and it's terrible, and this fixes it.

And actually, blank values for the S3 variables still cause the code to use the S3 uploader when I added the whole local uploader thing so that you don't have to deal with all that in development. Silly me though just straight up removed all those vars in my .env, and I should have commented them out in .env.sample as well to make setup for others easier out of the box.

Also just added a commit to put a sample postgres URL nearer to the TEST_DATABASE_URL env var as well.

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.

2 participants