First version, for githup; UNSTABLE, DO NOT USE!

This commit is contained in:
Fabio Herzig
2026-04-12 21:25:44 +02:00
commit a51fd9dbeb
423 changed files with 58560 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
# This Account must have have permissions SELECT, INSERT, UPDATE !
DB_USER=DB_GUESTUSER_USERNAME
DB_PASSWORD=DB_GUESTUSER_PASSWORD
DB_NAME=DATABASE_NAME # Same as .env.db
DB_HOST=DB_HOST # Same as .env.db, An IP with Port, often 127.0.0.1:3306 or localhost:3306

View File

@@ -0,0 +1,18 @@
DB_PREFIX=qxQtE_
# Tabellennamen
DB_TABLE_TURNERINNEN=turnerinnen
DB_TABLE_ORDERS=orders
DB_TABLE_BASKET_ITEMS=basket_items
DB_TABLE_VARIABLES=variables
DB_TABLE_OTL=onetimeloginlinks
DB_TABLE_KR_PROTOKOLL=kampfricherinnen_protokoll
DB_TABLE_PROGRAMME=programme
DB_TABLE_INTERN_USERS=intern_users
DB_TABLE_VEREINE=vereine
DB_TABLE_ABTEILUNGEN=abteilungen
DB_TABLE_TURNERINNEN_ABTEILUNGEN=turnerinnen_abteilungen
DB_TABLE_GERAETE=geraete
DB_TABLE_AUDIOFILES=audiofiles
DB_TABLE_NOTEN=noten
DB_TABLE_NOTEN_BEZEICHNUNGEN=noten_bezeichnungen

6
config/.env.db.example Normal file
View File

@@ -0,0 +1,6 @@
# This Account must have at least have permissions SELECT, INSERT, UPDATE, DELETE !
DB_USER=DB_USER_USERNAME
DB_PASSWORD=DB_USER_PASSWORD
DB_NAME=DATABASE_NAME
DB_HOST=DB_HOST # An IP with Port, often 127.0.0.1:3306 or localhost:3306

View File

@@ -0,0 +1 @@
PW_ENCRYPTION_KEY=YOUR_CUSTOM_PASSWORD_ENCRYPTION_KEY

View File

@@ -0,0 +1,3 @@
REDDIS_PASSWORD=YOUR_REDDIS_PASSWORD
REDDIS_HOST=YOUR_REDDIS_IP # An IP, often 127.0.0.1 or localhost
REDDIS_PORT=YOUR_REDDIS_PORT # Default 6379

37
config/readme.md Normal file
View File

@@ -0,0 +1,37 @@
To get started, you must replace the placeholder values in the example files with your actual credentials.
1. Database & Redis Credentials
Copy the following example files and replace all values with your specific credentials:
.env.db.example → .env.db
.env.db-guest.example → .env.db-guest
.env.redis.example → .env.redis
.env.pw-encryption-key.example → .env.pw-encryption-key
2. Table Prefix Configuration
Open the file .env.db-tables.example and modify only the DB_PREFIX line.
⚠️ Important: If you used the generate-sql.php script, the prefix in this file must match exactly the one generated by that script. Do not edit any other lines in this file, as it may break the system structure.
3. Remove .example Suffix
For the system to load the configuration correctly, you must remove the .example extension from all files.
Option A: Manual Rename Simply rename the files in your file explorer:
.env.db
.env.db-guest
.env.redis
.env.db-tables
.env.pw-encryption-key
Option B: Terminal Command Run the following commands in your project root:
mv .env.db.example .env.db
mv .env.db-guest.example .env.db-guest
mv .env.redis.example .env.redis
mv .env.db-tables.example .env.db-tables
mv .env.pw-encryption-key.example .env.pw-encryption-key
Once these steps are complete, the system is ready to use.