Skip to content

Commit

Permalink
Generate secret_key.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasb committed Oct 24, 2011
1 parent eba7419 commit 24fd4ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
dump.rdb
secret_key.txt

build/pip-delete-this-directory.txt
secret_key.py
*.pyc
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Start by e.g.

Initialize the secret key

head -c 24 /dev/random | base64 > secret_key.txt
echo "key=\"$(head -c 24 /dev/random | base64)\"" > secret_key.py

The database will be initialized when opening the index page the first time.

Expand Down

0 comments on commit 24fd4ac

Please sign in to comment.