mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
13 lines
360 B
Bash
Executable File
13 lines
360 B
Bash
Executable File
#!/bin/bash
|
|
cp ./.env.example ./.env
|
|
|
|
# Export for tr error in mac
|
|
export LC_ALL=C
|
|
export LC_CTYPE=C
|
|
|
|
cp ./web/.env.example ./web/.env
|
|
cp ./space/.env.example ./space/.env
|
|
cp ./apiserver/.env.example ./apiserver/.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 |