1fbfccb4fc
* Use standard lessc and minify CSS using Node.js This changes the previous nonstandard `lessc` to the official one and enables CSS minification via the clean-css module. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally in node_modules so there is no dependency on binaries in PATH. Benefits include: - Allows one to have a standard lessc in PATH. - Can now use command line switches on lessc. - Minified CSS brings faster page load times and also has the benefit of discouraging contributors from editing CSS directly. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally based on the information in `package.json`. The 'make stylesheet' task was modified to run without condition. This makes it easier to work on the make task itself without having to delete files. Also fixes: https://github.com/go-gitea/gitea/issues/2198 * install node, npm and modules on drone * .PHONY * use 'minify' to minify CSS |
||
---|---|---|
.github | ||
assets | ||
cmd | ||
conf | ||
contrib | ||
docker | ||
integrations | ||
models | ||
modules | ||
options | ||
public | ||
routers | ||
scripts | ||
templates | ||
vendor | ||
.changelog.yml | ||
.dockerignore | ||
.drone.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.lgtm | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
DCO | ||
Dockerfile | ||
Dockerfile.aarch64 | ||
Dockerfile.rpi | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
README.md | ||
README_ZH.md | ||
main.go | ||
package.json |
README.md
Gitea - Git with a cup of tea
Purpose
The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs.
Notes
- YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
- If you found a vulnerability in the project, please write privately to security@gitea.io. Thanks!
- If you're interested in using our APIs, we have experimental support with documentation.
Docs
For more information and instructions about how to install Gitea please look at our documentation. If you cannot find some specific information, then head over to our Discord server or Matrix room to chat with us or use the forum.
Contributing
Fork -> Patch -> Push -> Pull Request
Authors
License
This project is licensed under the MIT License. See the LICENSE file for the full license text.