2
0

first commit

This commit is contained in:
2024-08-09 00:39:27 +02:00
commit 79688abe2e
5698 changed files with 497838 additions and 0 deletions

1
calcom/deploy/README.md Normal file
View File

@@ -0,0 +1 @@
Visit https://cal.com/docs/introduction/quick-start/self-hosting/installation#requirements for full instructions

View 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
View 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