WKVS v 1.0.0

This commit is contained in:
Fabio Herzig
2026-07-24 21:49:40 +02:00
commit 6cb5386205
469 changed files with 76191 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
# 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 without Port, often 127.0.0.1 or localhost
DB_PORT=3306 # default Port is 3306
+30
View File
@@ -0,0 +1,30 @@
DB_PREFIX=PREFIX
# Tabellennamen
DB_TABLE_TEILNEHMENDE=teilnehmende
DB_TABLE_TEILNEHMENDE_GRUPPEN=teilnehmende_gruppen
DB_TABLE_TEILNEHMENDE_AUDIOFILES=teilnehmende_audiofiles
DB_TABLE_VEREINE=vereine
DB_TABLE_DISZIPLINEN=disziplinen
DB_TABLE_KATEGORIEN=kategorien
DB_TABLE_WERTUNGEN=wertungen
DB_TABLE_WERTUNGEN_LOG=wertungen_log
DB_TABLE_WERTUNGSTYPEN=wertungstypen
DB_TABLE_GRUPPEN=gruppen
DB_TABLE_GRUPPEN_ZEITEN=gruppen_zeiten
DB_TABLE_WARENKORB_STARTGEBUEREN=warenkorb_startgebueren
DB_TABLE_VERBUCHTE_STARTGEBUEREN=verbuchte_startgebueren
DB_TABLE_VERBUCHTE_STARTGEBUEREN_LOG=verbuchte_startgebueren_log
DB_TABLE_ZEITPLAN_TYPES=zeitplan_types
DB_TABLE_TABELLEN_KONFIGURATION=tabellen_konfiguration
DB_TABLE_VARIABLES=variables
DB_EINMAL_LINKS=einmal_links
DB_TABLE_INTERN_BENUTZENDE=intern_benutzende
DB_TABLE_AUDIOFILES=audiofiles
DB_TABLE_WETTKAEMPFE=wettkaempfe
+7
View File
@@ -0,0 +1,7 @@
# 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 127.0.0.1 or localhost
DB_PORT=3306 # default Port is 3306
+1
View File
@@ -0,0 +1 @@
PW_ENCRYPTION_KEY=YOUR_CUSTOM_PASSWORD_ENCRYPTION_KEY
+3
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
+4
View File
@@ -0,0 +1,4 @@
# This is a id, that needs to be unique, if you run multiple instances of WKVS on one server (also when using two different domains).
# This id is primarly used for WS seperation, so that it is possible to just run one websocket/index.js
WETTKAMPF_ID=123456
+37
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.