Enable simple one-command install with preconfigured default passwords

Adds install script and documentation for easy setup; configures default passwords in .env.example.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/b677ee4d-d452-4e7b-9ac9-ca1e468cd60b.jpg
This commit is contained in:
michaelschal committed 2025-07-09 21:52:47 +00:00
1 parent f8b7a17d61
commit 5bf67982b9
4 files changed
+206 -31

No files matched your search

+13 -12
View File
@@ -4,8 +4,8 @@
# ==========================================
# CONFIGURATION POSTGRESQL (SÉCURISÉE)
# ==========================================
# OBLIGATOIRE: Changez ce mot de passe pour la production
POSTGRES_PASSWORD=CHANGEZ_MOI_EN_PRODUCTION_2024!
# Mot de passe PostgreSQL (pré-configuré pour installation simple)
POSTGRES_PASSWORD=RegisFlow2024!PostgreSQL
# Configuration automatique PostgreSQL :
# - Container: regisflow-db
@@ -20,9 +20,8 @@ POSTGRES_PASSWORD=CHANGEZ_MOI_EN_PRODUCTION_2024!
NODE_ENV=production
PORT=5000
# OBLIGATOIRE: Générez une clé secrète forte pour les sessions
# Exemple: openssl rand -base64 32
SESSION_SECRET=CHANGEZ_MOI_GENERER_UNE_CLE_SECRETE_FORTE
# Clé secrète pour les sessions (pré-configurée pour installation simple)
SESSION_SECRET=RegisFlow2024SessionSecretKey1234567890ABCDEF
# ==========================================
# CONFIGURATION SYSTÈME
@@ -49,17 +48,19 @@ SECURE_COOKIES=true
# ==========================================
# INSTRUCTIONS IMPORTANTES
# ==========================================
# 1. CHANGEZ OBLIGATOIREMENT :
# - POSTGRES_PASSWORD
# - SESSION_SECRET
#
# 2. Pour générer SESSION_SECRET :
# openssl rand -base64 32
# 1. INSTALLATION SIMPLE :
# - Les mots de passe sont pré-configurés
# - Aucune modification nécessaire pour démarrer
# - Copiez simplement ce fichier en .env
#
# 2. Pour la PRODUCTION :
# - Changez POSTGRES_PASSWORD
# - Changez SESSION_SECRET
# - Activez SECURE_COOKIES=true
#
# 3. Pour HTTPS en production :
# - Configurez un reverse proxy (Nginx/Apache)
# - Obtenez un certificat SSL (Let's Encrypt)
# - Activez SECURE_COOKIES=true
#
# 4. Application accessible sur :
# - RegisFlow: http://localhost:5000