mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
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:
@@ -52,4 +52,4 @@ SPACE_BASE_URL=
|
||||
APP_BASE_URL=
|
||||
|
||||
# Hard delete files after days
|
||||
HARD_DELETE_AFTER_DAYS=
|
||||
HARD_DELETE_AFTER_DAYS=60
|
||||
|
||||
@@ -32,4 +32,3 @@ python manage.py create_bucket
|
||||
python manage.py clear_cache
|
||||
|
||||
python manage.py runserver 0.0.0.0:8000 --settings=plane.settings.local
|
||||
|
||||
|
||||
2
setup.sh
2
setup.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user