Browse Source

recommend bindata for building (#11938)

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
for-closed-social
techknowlogick 4 years ago
committed by GitHub
parent
commit
4d2c2962d3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      docs/content/doc/installation/from-source.en-us.md

+ 4
- 2
docs/content/doc/installation/from-source.en-us.md View File

@ -98,8 +98,10 @@ Depending on requirements, the following build tags can be included.
be used to authenticate local users or extend authentication to methods
available to PAM.
Bundling assets into the binary using the `bindata` build tag can make
development and testing easier, but is not ideal for a production deployment.
Bundling assets into the binary using the `bindata` build tag is recommended for
production deployments. It is possible to serve the static assets directly via a reverse proxy,
but in most cases it is not necessary, and assets should still be bundled in the binary.
You may want to exclude bindata while developing/testing Gitea.
To include assets, add the `bindata` tag:
```bash

Loading…
Cancel
Save