Skip to content

Commit

Permalink
Working on config migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikogenia committed Feb 25, 2024
1 parent 55294a3 commit 29ad661
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
A Makerspace project for an arcade machine in the school

### Description
_This is the main software of the arcade machine, which controls
This is the main software of the arcade machine, which controls
all games and provides a menu. The gaming machine is a project of the
Makerspace for the Bodensee Gymnasium Lindau in Germany._
Makerspace for the Bodensee Gymnasium Lindau in Germany.

### Details
Version: _1.2.0_\
Author: _Makerspace_\
Framework: _Nikocraft (v0.0.4)_\
Database: _Lernplattform Mebis Bayern (Moodle)_
Version: 1.2.0\
Author: Makerspace\
Framework: Nikocraft (v0.0.4)\
Database: Lernplattform Mebis Bayern (Moodle)

### Team
Management: Dr. Andre Scherl\
Software: Nikogenia _(Nikolas)_\
Hardware: Valis World _(Valentin)_\
Games: _checkout the menu_
Software: Nikogenia (Nikolas Beyer)\
Hardware: Valis World (Valentin Sutter)\
Games: checkout the menu

\
**Makerspace © 2024**\
Expand Down
9 changes: 4 additions & 5 deletions configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ def __init__(self, logger):

super(MainConfig, self).__init__(f"{PATH_CONFIG}/main.json", logger)

self.database_url: str = "https://lernplattform.mebis.bycs.de/webservice/rest/server.php?"
self.database_id: str = ""
self.database_auth_token: str = ""
self.database_auto_update: int = 300
self.database_fast_update: int = 22
self.database_fast_update: int = 10

self.background_mode: str = "image"
self.background_file_name: str = "background.png"

self.listener_port: int = 42000
self.listener_key: str = "DefaultKey"
self.listener_key: str = "makerspace"

self.debug_screen_show_default: bool = False
self.debug_screen_show_users: bool = False
Expand All @@ -44,9 +45,7 @@ def __init__(self, logger):

self.show_offline_warning: bool = True

self.restart_on_crash: bool = True

self.email_send: bool = False
self.email_active: bool = False
self.email_server_address: str = ""
self.email_server_port: int = 465
self.email_server_user: str = ""
Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def __init__(self, args):
details="Database: Lernplattform Mebis Bayern (Moodle)\n\n" +
"TEAM\n" +
"Management: Dr. Andre Scherl\n"
"Software: Nikogenia (Nikolas)\n" +
"Hardware: Valis World (Valentin)\n" +
"Software: Nikogenia (Nikolas Beyer)\n" +
"Hardware: Valis World (Valentin Sutter)\n" +
"Games: checkout the menu",
log_path=PATH_LOG,
log_thread=True)
Expand Down

0 comments on commit 29ad661

Please sign in to comment.