From 315aa2d0336c04b58c762e5e07417d6ffc7e8c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=91=D0=BE=D0=B1?= =?UTF-8?q?=D1=8B=D1=80=D0=B5=D0=B2?= Date: Sun, 24 May 2026 22:25:56 +0300 Subject: [PATCH] fix: install-node env bootstrap Co-authored-by: Cursor --- scripts/install-node.sh | 16 ++++++++-------- uninstall.sh | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/install-node.sh b/scripts/install-node.sh index c84989c..53deeb3 100644 --- a/scripts/install-node.sh +++ b/scripts/install-node.sh @@ -32,17 +32,17 @@ setup_compose_db() { setup_env() { if [[ ! -f "${INSTALL_DIR}/.env" ]]; then + cp "${INSTALL_DIR}/.env.example" "${INSTALL_DIR}/.env" SECRET=$(openssl rand -base64 32 2>/dev/null || head -c 32 /dev/urandom | base64) - cat >"${INSTALL_DIR}/.env" <>"${INSTALL_DIR}/.env" <