Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config-ception #134

Open
kaguy4 opened this issue Sep 14, 2024 · 0 comments
Open

Config-ception #134

kaguy4 opened this issue Sep 14, 2024 · 0 comments
Labels
idea For your feature ideas.

Comments

@kaguy4
Copy link
Member

kaguy4 commented Sep 14, 2024

This is the prerequisite for web panel config editor.

MAIN CONFIG FILE: This file will be untouched by the administrator. When doing updates, it will be safe to overwrite everything here.
GLOBAL INSTANCE CONFIG FILE: Defines from the main config file can be copy-pasted & changed on this file, and they will overwrite the values of main config file. Will include stuff like location of mod passwords. Akin to vichan's https://github.com/vichan-devel/vichan/blob/master/inc/instance-config.php
BOARD INSTANCE CONFIG FILE: Will get the values from two files above, and further include database configuration and other possible board-specific configurations (like sensors, if wished to be different on different boards)
BOARD ROOT CONFIG FILE: The reason it's a different file than above is security reasons. Will just link to the board instance config file from the board's root.

I think config files (other than the root one obviously) can just go to dat/ - multi board BBS admins can change locations of config files to be convenient in their systems.

@kaguy4 kaguy4 added the idea For your feature ideas. label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea For your feature ideas.
Projects
None yet
Development

No branches or pull requests

1 participant