forked from mtusi2026/mtusi2026lab2
feat: persist messenger data and sessions in PostgreSQL
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
umask 077
|
||||
if [ -e .env ]; then echo 'Using existing .env'; exit 0; fi
|
||||
set -C
|
||||
{
|
||||
printf 'PG_PASS=%s\n' "$(openssl rand -hex 24)"
|
||||
printf 'CACHE_PASS=%s\n' "$(openssl rand -hex 24)"
|
||||
} > .env
|
||||
Reference in New Issue
Block a user