Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
build(bin): do not copy the example file before inserting the secret key
Browse files Browse the repository at this point in the history
  • Loading branch information
bitterteriyaki committed Sep 20, 2023
1 parent 0458110 commit 069af9e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bin/create-env
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# This script creates a .env file in the config directory and generates a
# random secret key for the Django app automatically.

cp config/.env.example config/.env

read -r -d '' SECRET_KEY_CMD << EOM
from django.utils.crypto import get_random_string;
print(get_random_string(64))
Expand Down

0 comments on commit 069af9e

Please sign in to comment.