Files
Bandhan Majumder 9d9a85ddd9 docs: calendso encryption key of length 24 (#23045)
* docs: calendso encryption key of length 24

Signed-off-by: Bandhan Majumder <bandhanmajumder16@gmail.com>

* Update .env.example

---------

Signed-off-by: Bandhan Majumder <bandhanmajumder16@gmail.com>
Co-authored-by: Volnei Munhoz <volnei.munhoz@gmail.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2026-01-10 21:40:23 +00:00

10 lines
277 B
Bash
Executable File

#!/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 24)"'|g' .env
yarn
./deploy/codespaces/install.sh