mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
dev: fix setup.sh causing tr Illegal byte sequence
This commit is contained in:
parent
805b8f47cc
commit
ea563d20a3
2
setup.sh
2
setup.sh
@ -4,4 +4,6 @@ cp ./apiserver/.env.example ./apiserver/.env
|
|||||||
cp ./apps/app/.env.example ./apps/app/.env
|
cp ./apps/app/.env.example ./apps/app/.env
|
||||||
|
|
||||||
echo -e "\nNEXT_PUBLIC_API_BASE_URL=http://$1" >> ./apps/app/.env
|
echo -e "\nNEXT_PUBLIC_API_BASE_URL=http://$1" >> ./apps/app/.env
|
||||||
|
export LC_ALL=C
|
||||||
|
export LC_CTYPE=C
|
||||||
echo -e "\nSECRET_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
|
Loading…
Reference in New Issue
Block a user