Created
January 23, 2017 03:06
-
-
Save Phazz/44975695ad7f4882c1558a328c979a0e to your computer and use it in GitHub Desktop.
heroku secret key one liner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku config:set SECRET_KEY=$(python -c 'import random; import string; print("".join([random.SystemRandom().choice("{}{}{}".format(string.ascii_letters, string.digits, string.punctuation)) for i in range(50)]))') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment