forgejo/docs/content/doc/installation
wxiaoguang fa0b5b14c2
Make "install page" respect environment config (#25648)
Replace #25580

Fix #19453

The problem was: when users set "GITEA__XXX__YYY" , the "install page"
doesn't respect it.

So, to make the result consistent and avoid surprising end users, now
the "install page" also writes the environment variables to the config
file.

And, to make things clear, there are enough messages on the UI to tell
users what will happen.

There are some necessary/related changes to `environment-to-ini.go`:

* The "--clear" flag is removed and it was incorrectly written there.
The "clear" operation should be done if INSTALL_LOCK=true
* The "--prefix" flag is removed because it's never used, never
documented and it only causes inconsistent behavior.


![image](https://github.com/go-gitea/gitea/assets/2114189/12778ee4-3fb5-4664-a73a-41ebbd77cd5b)
2023-07-09 22:43:37 +00:00
..
_index.en-us.md
_index.fr-fr.md
_index.zh-cn.md
_index.zh-tw.md
comparison.en-us.md
comparison.zh-cn.md
comparison.zh-tw.md
database-preparation.en-us.md
database-preparation.zh-cn.md
from-binary.en-us.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-binary.fr-fr.md Use the new download domain replace the old (#25405) 2023-06-21 03:11:17 +00:00
from-binary.zh-cn.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-binary.zh-tw.md Use the new download domain replace the old (#25405) 2023-06-21 03:11:17 +00:00
from-package.en-us.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-package.fr-fr.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-package.zh-cn.md Remove unnecessary content on docs (#24976) 2023-05-30 09:30:56 +08:00
from-package.zh-tw.md Unify doc links to use paths relative to doc folder (#24979) 2023-05-29 13:27:16 +00:00
from-source.en-us.md Update from-source.zh-cn.md & from-source.en-us.md - Cross Compile Using Zig (#25194) 2023-06-13 10:53:51 +08:00
from-source.fr-fr.md Change branch name from master to main in some documents' links (#25126) 2023-06-08 07:35:55 +00:00
from-source.zh-cn.md Update from-source.zh-cn.md & from-source.en-us.md - Cross Compile Using Zig (#25194) 2023-06-13 10:53:51 +08:00
from-source.zh-tw.md Change branch name from master to main in some documents' links (#25126) 2023-06-08 07:35:55 +00:00
on-cloud-provider.en-us.md Add Exoscale to installation on cloud provider docs (#25342) 2023-06-18 15:00:33 +02:00
on-cloud-provider.zh-cn.md
on-kubernetes.en-us.md Use the new download domain replace the old (#25405) 2023-06-21 03:11:17 +00:00
on-kubernetes.zh-cn.md Use the new download domain replace the old (#25405) 2023-06-21 03:11:17 +00:00
on-kubernetes.zh-tw.md Use the new download domain replace the old (#25405) 2023-06-21 03:11:17 +00:00
run-as-service-in-ubuntu.en-us.md
run-as-service-in-ubuntu.zh-cn.md Change branch name from master to main in some documents' links (#25126) 2023-06-08 07:35:55 +00:00
run-as-service-in-ubuntu.zh-tw.md Change branch name from master to main in some documents' links (#25126) 2023-06-08 07:35:55 +00:00
upgrade-from-gitea.en-us.md
upgrade-from-gitea.zh-cn.md
upgrade-from-gogs.en-us.md Use the new download domain replace the old (#25405) 2023-06-21 03:11:17 +00:00
upgrade-from-gogs.fr-fr.md Use the new download domain replace the old (#25405) 2023-06-21 03:11:17 +00:00
upgrade-from-gogs.zh-cn.md
upgrade-from-gogs.zh-tw.md Use the new download domain replace the old (#25405) 2023-06-21 03:11:17 +00:00
windows-service.en-us.md
windows-service.fr-fr.md
windows-service.zh-cn.md
windows-service.zh-tw.md
with-docker-rootless.en-us.md Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
with-docker-rootless.zh-cn.md
with-docker.en-us.md Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
with-docker.fr-fr.md
with-docker.zh-cn.md
with-docker.zh-tw.md