Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Commit

Permalink
nix: base64-ify secret key (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas authored Jul 19, 2017
1 parent 83acfa4 commit 8e75903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ in rec {

shellHook = ''
export APP_SETTINGS="$PWD/${self.src_path}/settings.py"
export SECRET_KEY=123
export SECRET_KEY_BASE64=`dd if=/dev/urandom bs=24 count=1 | base64`
export APP_NAME="${name}-${version}"
export LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive
Expand Down

0 comments on commit 8e75903

Please sign in to comment.