Description
Feature Description
As Gitea's configuration becomes more and more and once some configuration changes, gitea needs to be restarted. So we introduced database-based global configuration in #18058 . But once most of system configurations have been moved to database-based global configuration. For those who want to quickly set up a predefined Gitea instance, it becomes very difficult. Then I suppose we could have a subcommand which could be named install
or init
. i.e.
./gitea install --config gitea.yml
The subcommand will become an alternative choice of the current Web-based installation guide. It accepts a YAML configuration file. The file could contain all possible app.ini
configurations, database-based global configurations and even authentication sources (LDAP, OAuth2), and some default users, orgs and etc.
Screenshots
No response