Today's favorite
Setting your local variables in .env on Heroku:
heroku config:set (tr '\n' ' ' < .env.local)
Works with this syntax:
VARIABLE_NAME=VALUE
Written by Frans Krojegård
Related protips
1 Response
This actually didn't work, I had to do it in two separate steps. Don't know if it was heroku or fish playing tricks on me.
tr '\n' ' ' < .env.local | pbcopy
heroku config:set <paste here>
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#