Add gitignore and environment configuration template

- Update .gitignore to exclude sensitive files and helper docs
- Create .env.example with placeholder values for setup
- Ensure .env with secrets remains untracked

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-08 22:51:21 +03:00
parent 3e92456c59
commit 669acbe86d
2 changed files with 24 additions and 1 deletions

8
.gitignore vendored
View File

@@ -1,2 +1,10 @@
*.fxp *.fxp
*.bak *.bak
# Environment files with secrets
api/.env
# Helper/temporary files in docs
docs/PACK_COMENZI.pck
docs/completeaza-parteneri-roa.prg
docs/info-database.sql

15
api/.env.example Normal file
View File

@@ -0,0 +1,15 @@
# Oracle Database Configuration
ORACLE_USER=YOUR_ORACLE_USERNAME
ORACLE_PASSWORD=YOUR_ORACLE_PASSWORD
ORACLE_DSN=YOUR_TNS_CONNECTION_NAME
TNS_ADMIN=/app
INSTANTCLIENTPATH=/opt/oracle/instantclient_21_1
# Flask Configuration
FLASK_ENV=development
FLASK_DEBUG=1
PYTHONUNBUFFERED=1
# Application Settings
APP_PORT=5000
LOG_LEVEL=DEBUG