Skip to content
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

Handle multiline strings in .env file #250

Merged
merged 1 commit into from
Sep 14, 2012

Conversation

szimek
Copy link
Contributor

@szimek szimek commented Aug 14, 2012

This adds support for multiline strings in format: FOO="bar\nbaz". This way it's possible to use multiline strings (e.g. certificates) locally and e.g. on Heroku:

heroku config:add FOO="bar
baz"

or from a file:

cert.pem

bar
baz
heroku config:add FOO="`cat cert.pem`"

@travisbot
Copy link

This pull request passes (merged 7d6de5b into 6042783).

@morgoth
Copy link
Contributor

morgoth commented Sep 3, 2012

@ddollar is there anything more that we can do to get this merged?

ddollar added a commit that referenced this pull request Sep 14, 2012
Handle multiline strings in .env file
@ddollar ddollar merged commit af2d476 into ddollar:master Sep 14, 2012
@ddollar
Copy link
Owner

ddollar commented Sep 14, 2012

Thanks!

joshfriend pushed a commit to joshfriend/honcho that referenced this pull request Jan 19, 2015
joshfriend pushed a commit to joshfriend/honcho that referenced this pull request Jan 19, 2015
jiannis pushed a commit to guidance-guarantee-programme/content_performance that referenced this pull request Feb 10, 2015
Key is stored as a quoted multiline string to work locally and on Heroku.

See:

- [Handle multiline strings in .env file](ddollar/foreman#250)
- [How To Store Private Key Files In Heroku](http://ar.zu.my/how-to-store-private-key-files-in-heroku)
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.

None yet

4 participants