first commit
This commit is contained in:
1
calcom/deploy/README.md
Normal file
1
calcom/deploy/README.md
Normal file
@@ -0,0 +1 @@
|
||||
Visit https://cal.com/docs/introduction/quick-start/self-hosting/installation#requirements for full instructions
|
||||
9
calcom/deploy/codespaces/install.sh
Executable file
9
calcom/deploy/codespaces/install.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -xeuf -o pipefail
|
||||
|
||||
# exit this file if we are not in Codespaces
|
||||
if [ -z "${CODESPACES}" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "printf \"\n🚀 Welcome to Cal.com! Try typing 'yarn dx' to get a quick dev environment.\n\"" >> ~/.bashrc
|
||||
10
calcom/deploy/install.sh
Executable file
10
calcom/deploy/install.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -xeuf -o pipefail
|
||||
|
||||
cp .env.example .env
|
||||
|
||||
sed -i 's|NEXTAUTH_SECRET=.*|NEXTAUTH_SECRET='"$(openssl rand -base64 32)"'|g' .env
|
||||
sed -i 's|CALENDSO_ENCRYPTION_KEY=.*|CALENDSO_ENCRYPTION_KEY='"$(openssl rand -base64 32)"'|g' .env
|
||||
yarn
|
||||
|
||||
./deploy/codespaces/install.sh
|
||||
Reference in New Issue
Block a user