KEINOS / gitea_darwin

✅ macOS (arm64) に Gitea を SQLite3 + 日本語 + 未使用の空きポート設定済みの状態でインストールするスクリプトです。
https://qiita.com/KEINOS/items/a0742e7f4c2195816b38
MIT License
0 stars 0 forks source link

Easy Gitea installer for Mac

What is Gitea?

Gitea is a simple and single application that allows you to self-host a git server.

Install and update

To install Gitea on your Mac, just run this command below under preferred directory to install. This command will update the binary if Gitea is already installed.

bash <(curl -s https://keinos.github.io/gitea_darwin/install.sh)

Tested environment

What this script does?

It eases your usual process to install Gitea such as below:

  1. It downloads the archived Gitea binary file and the checksums for Mac(darwin, arm64) from the latest releases pages.
  2. Compares the checksum of the archive.
  3. Extracts the archive.
  4. Changes mode as executable.
  5. Checks and displays the binary version.
  6. Search un-used ports for buil-in ssh and web server of Gitea.
  7. Sets the SSH and HTTP ports found as default.
  8. Runs the Gitea and launches the default browser to setup.

License

MIT License. Same as Gitea, it is.