Configure Index Backend and Tracker from Frontend #94
Replies: 2 comments
-
Hi @BelieveInBunny , right now, this is what's implemented:
Regarding the tracker and website config, you can change the settings on the admin panel: But it's something I do not like because of the following:
I would add a new table, Regarding changing the tracker configuration from the frontend, first we should decide which is the role of the tracker. See torrust/torrust-index#186 Is the tracker only an associated/linked tracker to the index, or it's an independent service I think we have to answer all those questions before implementing a solution to make installation and configuration easier. |
Beta Was this translation helpful? Give feedback.
-
Hi @BelieveInBunny, there have been a lot of changes. Now, the configuration is read-only in the admin panel. The main reasons are:
Automatic deployments, containerization, and alternative infrastructure (cloud, ...) are sometimes more complex to implement with that feature. Regarding installation, we have opened a new issue: torrust/torrust-index#775 We will open new issues regarding the ability to change the configuration on the fly (at runtime). There are two types of configuration:
Only the database connection would be needed to start the service. The rest could be moved into the database. However, moving some options to the database would require changing a lot of code, and they probably don't make much sense. For example, running a new UDP tracker on a new port would be possible. We don't intend to reach that level, but we want to move most of the CMS configuration to the database. For example, the site name, demo warnings, etc. I will create a new issue to move those values to the database, so you will be able to change some settings again, but not all. If you could tell us which options you wanted to dynamically update from the front end, it would help us define the priorities about what to move first. |
Beta Was this translation helpful? Give feedback.
-
(edit @da2ce7)
(original: @BelieveInBunny ):
Torrust needs at least one administrator account. On first boot it should show an install wizard to create an admin account and to set the tracker/website config.
Beta Was this translation helpful? Give feedback.
All reactions