fix: adding secret key variable in newline (#5361)

* fix: adding secret key variable in newline

adding secret key variable in newline in api server env file and setting default value for `HARD_DELETE_AFTER_DAYS`

* added newline at EOF
This commit is contained in:
Akshat Jain
2024-08-16 11:57:52 +05:30
committed by GitHub
parent 3e83eed398
commit 8e87c48249
3 changed files with 2 additions and 3 deletions

View File

@@ -11,4 +11,4 @@ cp ./space/.env.example ./space/.env
cp ./admin/.env.example ./admin/.env
# Generate the SECRET_KEY that will be used by django
echo "SECRET_KEY=\"$(tr -dc 'a-z0-9' < /dev/urandom | head -c50)\"" >> ./apiserver/.env
echo -e "\nSECRET_KEY=\"$(tr -dc 'a-z0-9' < /dev/urandom | head -c50)\"" >> ./apiserver/.env