dev/patrick #1

Merged
lukas.uptmoor merged 69 commits from dev/patrick into main 2026-04-20 16:32:31 +02:00
3 changed files with 5 additions and 3 deletions
Showing only changes of commit dec36d4053 - Show all commits

2
.gitignore vendored
View File

@@ -1 +1,3 @@
.env .env
.vscode/
*.log

View File

@@ -1,7 +1,7 @@
<?php <?php
// Reads Environment Configfile // Reads Environment Configfile
$envFile = __DIR__ . '/.env'; $envFile = __DIR__ . '/../.env';
if (file_exists($envFile)) { if (file_exists($envFile)) {
$lines = file($envFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $lines = file($envFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
foreach ($lines as $line) { foreach ($lines as $line) {

View File

@@ -10,7 +10,7 @@ Citizen Participation Portal for Lohne (Oldenburg).
- `scripts/` — Maintenance Scripts (backup, deployment) - `scripts/` — Maintenance Scripts (backup, deployment)
- `legacy/` — Reference Code from Prototype - `legacy/` — Reference Code from Prototype
## Local setup ## Local Setup
1. Copy `.env.example` to `.env` and fill in Database Credentials. 1. Copy `.env.example` to `.env` and fill in Database Credentials.
2. Run the SQL Migration in pgAdmin and execute in the target database. 2. Run the SQL Migration in pgAdmin and execute in the target database.