homebrew-gitea/README.md

80 lines
1.5 KiB
Markdown

# Gitea: Homebrew
[![Join the chat at https://img.shields.io/discord/322538954119184384.svg](https://img.shields.io/discord/322538954119184384.svg)](https://discord.gg/NsatcWJ)
Homebrew repository to install Gitea and tools on macOS.
## Prepare
```bash
brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
```
## Install
### gitea
```bash
brew install gitea
gitea -h
```
### tea
```bash
brew install tea
tea -h
```
### changelog
```bash
brew install changelog
changelog -h
```
## Upgrade
In case you installed Gitea before v1.8.3, you still might have the old tap. In that case, you need to remove it and add the new tap via
```bash
brew untap go-gitea/gitea
brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
```
Once you updated the tap, you can upgrade via
```bash
brew update && brew upgrade gitea tea changelog
```
## Uninstall
You can uninstall Gitea with
```bash
brew uninstall gitea tea changelog
```
Note that this will only uninstall the gitea binary. Your repositories, configuration, database, logs etc. are still kept in their locations (to check which folders Gitea is using, see `Site administration` -> `Configuration`).
## Contributing
Fork -> Patch -> Push -> Pull Request
## Authors
* [Maintainers](https://gitea.com/org/gitea/members)
* [Contributors](https://github.com/go-gitea/gitea/graphs/contributors)
## License
This project is under the MIT License. See the [LICENSE](LICENSE) file for the
full license text.
## Copyright
```
Copyright (c) 2016 The Gitea Authors <https://gitea.io>
```