added .env.example and init.sh script

This commit is contained in:
2025-06-22 14:53:30 +04:00
parent 1a95a88567
commit 2fc4e023a1
3 changed files with 32 additions and 10 deletions

11
init.sh Normal file
View File

@ -0,0 +1,11 @@
#!/bin/bash
ENV_FILE=".env"
if [ -f "$ENV_FILE" ]; then
echo "[INFO] $ENV_FILE already exists. Skipping."
else
echo "[INFO] Creating $ENV_FILE from .env.example"
cp .env.example .env
echo "[OK] Now you can edit .env if needed."
fi