Skip to content

Instantly share code, notes, and snippets.

@Phazz
Created January 23, 2017 03:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Phazz/44975695ad7f4882c1558a328c979a0e to your computer and use it in GitHub Desktop.
Save Phazz/44975695ad7f4882c1558a328c979a0e to your computer and use it in GitHub Desktop.
heroku secret key one liner
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