fixed .env path in init.php
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
||||
.env
|
||||
.vscode/
|
||||
*.log
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
// Reads Environment Configfile
|
||||
$envFile = __DIR__ . '/.env';
|
||||
$envFile = __DIR__ . '/../.env';
|
||||
if (file_exists($envFile)) {
|
||||
$lines = file($envFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
|
||||
foreach ($lines as $line) {
|
||||
|
||||
@@ -10,7 +10,7 @@ Citizen Participation Portal for Lohne (Oldenburg).
|
||||
- `scripts/` — Maintenance Scripts (backup, deployment)
|
||||
- `legacy/` — Reference Code from Prototype
|
||||
|
||||
## Local setup
|
||||
## Local Setup
|
||||
|
||||
1. Copy `.env.example` to `.env` and fill in Database Credentials.
|
||||
2. Run the SQL Migration in pgAdmin and execute in the target database.
|
||||
|
||||
Reference in New Issue
Block a user