Skip to content

Commit 0b993a0

Browse files
authored
Fix "build from source" document to clarify the bindata tag is required. (#21853)
1 parent 6dbcf72 commit 0b993a0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/content/doc/installation/from-source.en-us.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ are provided to keep the build process as simple as possible.
9494

9595
Depending on requirements, the following build tags can be included.
9696

97-
- `bindata`: Build a single monolithic binary, with all assets included.
97+
- `bindata`: Build a single monolithic binary, with all assets included. Required for production build.
9898
- `sqlite sqlite_unlock_notify`: Enable support for a
9999
[SQLite3](https://sqlite.org/) database. Suggested only for tiny
100100
installations.
@@ -103,11 +103,10 @@ Depending on requirements, the following build tags can be included.
103103
available to PAM.
104104
- `gogit`: (EXPERIMENTAL) Use go-git variants of Git commands.
105105

106-
Bundling assets into the binary using the `bindata` build tag is recommended for
107-
production deployments. It is possible to serve the static assets directly via a reverse proxy,
108-
but in most cases it is not necessary, and assets should still be bundled in the binary.
109-
You may want to exclude bindata while developing/testing Gitea.
110-
To include assets, add the `bindata` tag:
106+
Bundling all assets (JS/CSS/templates, etc) into the binary. Using the `bindata` build tag is required for
107+
production deployments. You could exclude `bindata` when you are developing/testing Gitea or able to separate the assets correctly.
108+
109+
To include all assets, use the `bindata` tag:
111110

112111
```bash
113112
TAGS="bindata" make build

0 commit comments

Comments
 (0)