1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-08 05:18:19 +08:00

Use correct make target for building static assets ()

The webpack make target does not build semantic-ui
This commit is contained in:
Ben Harris
2020-07-14 15:45:23 -04:00
committed by GitHub
parent 3b498ebc77
commit a4da46d182

@ -55,7 +55,7 @@ Nginx is optimized for serving static content, while the proxying of large respo
(see https://serverfault.com/q/587386).
Download a snapshot of the Gitea source repository to `/path/to/gitea/`.
After this, run `make webpack` in the repository directory to generate the static resources. We are only interested in the `public/` directory for this task, so you can delete the rest.
After this, run `make frontend` in the repository directory to generate the static resources. We are only interested in the `public/` directory for this task, so you can delete the rest.
(You will need to have [Node with npm](https://nodejs.org/en/download/) and `make` installed to generate the static resources)
Depending on the scale of your user base, you might want to split the traffic to two distinct servers,