https://github.com/whitequark/instant-git-server
set up a git server frontend in five minutes
https://github.com/whitequark/instant-git-server
Last synced: 3 months ago
JSON representation
set up a git server frontend in five minutes
- Host: GitHub
- URL: https://github.com/whitequark/instant-git-server
- Owner: whitequark
- Created: 2017-06-27T17:41:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T19:23:59.000Z (almost 8 years ago)
- Last Synced: 2025-03-02T12:39:51.497Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# instant git server
to set up a git server frontend at `githosting.org`:
1. obtain a debian 8 machine and point `githosting.org` at it
2. `ssh-keygen -f id_rsa`
3. `ssh-copy-id -i id_rsa.pub [email protected]`
4. install ansible >=2.2 locally
5. fill in placeholders in `hosts.cfg.example` and save as `hosts.cfg`
6. `ansible-playbook playbook.yml`
7. `export GIT_SSH_COMMAND="ssh -i $(pwd)/id_rsa"`
8. `git clone [email protected]:gitolite-admin`
9. [add some repositories](http://gitolite.com/gitolite/basic-admin/)
10. doneskip all steps with `id_rsa` in them if you would rather just use your
global SSH key for administration.