1. Create a symbolic link for iCloud
$ ln -s ~/Library/Mobile\ Documents/com\~apple\~CloudDocs ~/icloud
2. Download gitea binary
from https://dl.gitea.io/
3. Folder structure
$ tree icloud -L 2
icloud
└── .gitea
├── custom
├── data
├── gitea-1.18.0-darwin-10.12-amd64
└── log
.gitea is a hidden folder by default, in case it's being accidentally deleted.
4. Run it
$ chmod +x ./icloud/.gitea/gitea-1.18.0-darwin-10.12-amd64
$ ./icloud/.gitea/gitea-1.18.0-darwin-10.12-amd64 web
5. git clone
via ssh not working?
Edit ~/icloud/.gitea/custom/conf/app.ini
, and add START_SSH_SERVER = true
, and restart the server.
[server]
START_SSH_SERVER = true
Category