1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-03 10:08:26 -05:00
forgejo/docs/content/doc/installation
wxiaoguang b4460cf541
Make "install page" respect environment config (#25648) (#25799)
Backport #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.

The only conflict during backport is "ui divider" in
templates/install.tmpl
2023-07-10 11:51:05 +00:00
..
_index.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
_index.fr-fr.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
_index.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
_index.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
comparison.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
comparison.zh-cn.md Move actions as usage's subdirectory and update comparsion zh-cn version (#24719) 2023-05-15 15:36:20 +08:00
comparison.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
database-preparation.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
database-preparation.zh-cn.md Add chinese documentations for installation (#24904) 2023-05-25 04:32:39 +00:00
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) (#25409) 2023-06-21 03:59:51 +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) (#25409) 2023-06-21 03:59:51 +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 Enable all webpack sourcemaps in dev build, disable all in prod build (#25089) 2023-06-06 12:57:08 +08:00
from-source.fr-fr.md Change branch name from master to main in some documents' links (#25126) (#25140) 2023-06-08 09:40:05 +00:00
from-source.zh-cn.md Remove unnecessary content on docs (#24976) 2023-05-30 09:30:56 +08:00
from-source.zh-tw.md Change branch name from master to main in some documents' links (#25126) (#25140) 2023-06-08 09:40:05 +00:00
on-cloud-provider.en-us.md Add Exoscale to installation on cloud provider docs (#25342) (#25346) 2023-06-18 15:48:06 +00:00
on-cloud-provider.zh-cn.md Add chinese documentations for installation (#24904) 2023-05-25 04:32:39 +00:00
on-kubernetes.en-us.md Use the new download domain replace the old (#25405) (#25409) 2023-06-21 03:59:51 +00:00
on-kubernetes.zh-cn.md Use the new download domain replace the old (#25405) (#25409) 2023-06-21 03:59:51 +00:00
on-kubernetes.zh-tw.md Use the new download domain replace the old (#25405) (#25409) 2023-06-21 03:59:51 +00:00
run-as-service-in-ubuntu.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
run-as-service-in-ubuntu.zh-cn.md Change branch name from master to main in some documents' links (#25126) (#25140) 2023-06-08 09:40:05 +00:00
run-as-service-in-ubuntu.zh-tw.md Change branch name from master to main in some documents' links (#25126) (#25140) 2023-06-08 09:40:05 +00:00
upgrade-from-gitea.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
upgrade-from-gitea.zh-cn.md zh-cn support on doc pages (#24166) 2023-04-18 08:23:35 +08:00
upgrade-from-gogs.en-us.md Use the new download domain replace the old (#25405) (#25409) 2023-06-21 03:59:51 +00:00
upgrade-from-gogs.fr-fr.md Use the new download domain replace the old (#25405) (#25409) 2023-06-21 03:59:51 +00:00
upgrade-from-gogs.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
upgrade-from-gogs.zh-tw.md Use the new download domain replace the old (#25405) (#25409) 2023-06-21 03:59:51 +00:00
windows-service.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
windows-service.fr-fr.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
windows-service.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
windows-service.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
with-docker-rootless.en-us.md Make "install page" respect environment config (#25648) (#25799) 2023-07-10 11:51:05 +00:00
with-docker-rootless.zh-cn.md Add chinese documentations for installation (#24904) 2023-05-25 04:32:39 +00:00
with-docker.en-us.md Make "install page" respect environment config (#25648) (#25799) 2023-07-10 11:51:05 +00:00
with-docker.fr-fr.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
with-docker.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
with-docker.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00