Commit Graph

12 Commits

Author SHA1 Message Date
71db1e9d26
log variant id on num_player mismatch 2023-07-06 23:49:33 +02:00
5dbf8a5631
get rid of bad print statement 2023-07-05 22:54:29 +02:00
f6f288d4b9
fix db connection 2023-07-05 22:53:35 +02:00
a04d94b50d
explicitly set localhost upon db connection 2023-07-05 22:52:58 +02:00
33c78cda48
pass password to postgresql on connection 2023-07-05 22:38:41 +02:00
37a342e63d
support db password in config file 2023-07-05 20:59:20 +02:00
967daf1914
Improve DB connection handling: Lazy init + config
Introduces a proper config file for db connection information
Also, connection now has to be explicitly initialized instead of this
being done on import: This is now done by the CLI function automatically
2023-07-05 20:54:26 +02:00
b9068eebe4
implement cli command to init database 2023-07-05 09:33:55 +02:00
fabcc9ceb2
Cache variants.json and suits.json files 2023-07-04 22:30:56 +02:00
a93601c997
Refactor imports, remove code in imported files
We now only use relative imports for files in the same directory
Also, only modules are imported, never classes/functions etc
Furthermore, main methods in package files have been removed,
since they do not belong there
2023-07-04 21:15:33 +02:00
6ae72a4b03
Adapt imports to new package structure 2023-07-04 18:53:18 +02:00
05e1822c3d
refactor files into proper submodules (not functional yet) 2023-07-04 18:52:59 +02:00