You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/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)
2 years ago
..
_index.en-us.md Refactor docs (#23752) 2 years ago
_index.fr-fr.md Refactor docs (#23752) 2 years ago
_index.zh-cn.md Refactor docs (#23752) 2 years ago
_index.zh-tw.md Refactor docs (#23752) 2 years ago
comparison.en-us.md Refactor docs (#23752) 2 years ago
comparison.zh-cn.md Move actions as usage's subdirectory and update comparsion zh-cn version (#24719) 2 years ago
comparison.zh-tw.md Refactor docs (#23752) 2 years ago
database-preparation.en-us.md Refactor docs (#23752) 2 years ago
database-preparation.zh-cn.md Add chinese documentations for installation (#24904) 2 years ago
from-binary.en-us.md Unify doc links to use paths relative to doc folder (#24979) 2 years ago
from-binary.fr-fr.md Use the new download domain replace the old (#25405) 2 years ago
from-binary.zh-cn.md Unify doc links to use paths relative to doc folder (#24979) 2 years ago
from-binary.zh-tw.md Use the new download domain replace the old (#25405) 2 years ago
from-package.en-us.md Unify doc links to use paths relative to doc folder (#24979) 2 years ago
from-package.fr-fr.md Unify doc links to use paths relative to doc folder (#24979) 2 years ago
from-package.zh-cn.md Remove unnecessary content on docs (#24976) 2 years ago
from-package.zh-tw.md Unify doc links to use paths relative to doc folder (#24979) 2 years ago
from-source.en-us.md Update `from-source.zh-cn.md` & `from-source.en-us.md` - Cross Compile Using Zig (#25194) 2 years ago
from-source.fr-fr.md Change branch name from master to main in some documents' links (#25126) 2 years ago
from-source.zh-cn.md Update `from-source.zh-cn.md` & `from-source.en-us.md` - Cross Compile Using Zig (#25194) 2 years ago
from-source.zh-tw.md Change branch name from master to main in some documents' links (#25126) 2 years ago
on-cloud-provider.en-us.md Add Exoscale to installation on cloud provider docs (#25342) 2 years ago
on-cloud-provider.zh-cn.md Add chinese documentations for installation (#24904) 2 years ago
on-kubernetes.en-us.md Use the new download domain replace the old (#25405) 2 years ago
on-kubernetes.zh-cn.md Use the new download domain replace the old (#25405) 2 years ago
on-kubernetes.zh-tw.md Use the new download domain replace the old (#25405) 2 years ago
run-as-service-in-ubuntu.en-us.md Refactor docs (#23752) 2 years ago
run-as-service-in-ubuntu.zh-cn.md Change branch name from master to main in some documents' links (#25126) 2 years ago
run-as-service-in-ubuntu.zh-tw.md Change branch name from master to main in some documents' links (#25126) 2 years ago
upgrade-from-gitea.en-us.md Refactor docs (#23752) 2 years ago
upgrade-from-gitea.zh-cn.md zh-cn support on doc pages (#24166) 2 years ago
upgrade-from-gogs.en-us.md Use the new download domain replace the old (#25405) 2 years ago
upgrade-from-gogs.fr-fr.md Use the new download domain replace the old (#25405) 2 years ago
upgrade-from-gogs.zh-cn.md Refactor docs (#23752) 2 years ago
upgrade-from-gogs.zh-tw.md Use the new download domain replace the old (#25405) 2 years ago
windows-service.en-us.md Refactor docs (#23752) 2 years ago
windows-service.fr-fr.md Refactor docs (#23752) 2 years ago
windows-service.zh-cn.md Refactor docs (#23752) 2 years ago
windows-service.zh-tw.md Refactor docs (#23752) 2 years ago
with-docker-rootless.en-us.md Make "install page" respect environment config (#25648) 2 years ago
with-docker-rootless.zh-cn.md Add chinese documentations for installation (#24904) 2 years ago
with-docker.en-us.md Make "install page" respect environment config (#25648) 2 years ago
with-docker.fr-fr.md Refactor docs (#23752) 2 years ago
with-docker.zh-cn.md Refactor docs (#23752) 2 years ago
with-docker.zh-tw.md Refactor docs (#23752) 2 years ago