From 669acbe86dcb1caf3100ac4bc59413ed06be4441 Mon Sep 17 00:00:00 2001 From: Marius Mutu Date: Mon, 8 Sep 2025 22:51:21 +0300 Subject: [PATCH] Add gitignore and environment configuration template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .gitignore | 10 +++++++++- api/.env.example | 15 +++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 api/.env.example diff --git a/.gitignore b/.gitignore index 3a116be..1a20db7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,10 @@ *.fxp -*.bak \ No newline at end of file +*.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 \ No newline at end of file diff --git a/api/.env.example b/api/.env.example new file mode 100644 index 0000000..7148978 --- /dev/null +++ b/api/.env.example @@ -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 \ No newline at end of file