mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
0416e07f46
* merge-commit: self hosted updates * dev: updates in self hosting setup * dev: update script to get the instance IP * dev: update script to generate backend secret key
7 lines
316 B
Bash
Executable File
7 lines
316 B
Bash
Executable File
#!/bin/bash
|
|
cp ./apiserver/.env.example ./apiserver/.env
|
|
# Generating App environmental variables
|
|
cp ./apps/app/.env.example ./apps/app/.env
|
|
|
|
echo -e "\nNEXT_PUBLIC_API_BASE_URL=http://$1" >> ./apps/app/.env
|
|
echo -e "\nSECRET_KEY=\"$(tr -dc 'a-z0-9!@#$%^&*(-_=+)' < /dev/urandom | head -c50)\"" >> ./apiserver/.env |