mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-17 12:19:05 +02:00
Simplify database setup by preconfiguring credentials and instructions
Adds preconfigured PostgreSQL credentials and setup instructions to .env and documentation. 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/6e755801-08e8-4492-805e-ac3610de5a2a.jpg
This commit is contained in:
1 parent
974684f6d4
commit
780036a232
5 files changed
+95
-29
No files matched your search
@@ -28,10 +28,11 @@ docker system prune -f
|
||||
if [ ! -f .env ]; then
|
||||
echo "📝 Création du fichier .env..."
|
||||
cp .env.example .env
|
||||
echo "⚠️ IMPORTANT: Vérifiez le fichier .env :"
|
||||
echo " - DATABASE_URL doit utiliser 'postgres:5432' (réseau Docker interne)"
|
||||
echo " - Changez POSTGRES_PASSWORD et SESSION_SECRET pour la sécurité"
|
||||
echo " - L'accès externe à PostgreSQL se fait via localhost:5433"
|
||||
echo "⚠️ IMPORTANT: Configurez l'IP de votre serveur PostgreSQL :"
|
||||
echo " - Remplacez 192.168.1.100 par l'IP de votre serveur PostgreSQL"
|
||||
echo " - Utilisateur/mot de passe préconfigurés : regisflow / RegisFlow2024!"
|
||||
echo " - Exécutez setup-postgres.sql sur votre serveur PostgreSQL"
|
||||
echo " - Changez SESSION_SECRET pour la sécurité"
|
||||
read -p "Appuyez sur Entrée pour continuer..."
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user