https://github.com/nikhiljohn10/gitry
A bash program to deploy git server for Ubuntu
https://github.com/nikhiljohn10/gitry
git server shellscript ubuntu
Last synced: about 1 month ago
JSON representation
A bash program to deploy git server for Ubuntu
- Host: GitHub
- URL: https://github.com/nikhiljohn10/gitry
- Owner: nikhiljohn10
- License: mit
- Created: 2017-01-28T14:27:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-29T08:28:33.000Z (over 9 years ago)
- Last Synced: 2025-09-14T16:01:06.265Z (9 months ago)
- Topics: git, server, shellscript, ubuntu
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gitry
A bash program to deploy git server for Ubuntu based operating systems of 64bit arch.
### Installation
Simply run the following commands
```
$ sudo apt-get install -y wget
$ wget https://github.com/nikhiljohn10/gitry/archive/master.zip -O temp.zip
$ unzip temp.zip && rm temp.zip
$ cd gitry-master && sudo ./install.sh
```
### Usage
To access gitry, ssh in to localhost using following command
```
$ ssh git@localhost # the install.sh adds pubic key of your system to server, hence no password needed
```
To use gitry after logging in to server
```
$ gitry list # list all the git repos added to server
$ gitry add # add a new repo in to server (do not use .git in repo name)
$ gitry delete # delete a repo from server (do not use .git in repo name)
```
To access server from client
```
$ git clone git@localhost:.git
# or
$ git init && git remote add origin git@localhost:.git
```
### Possibles errors
This is hardcorded for Ubuntu 16.04 LTS 64bit desktop version. The dependancies and commands may vary on your distribution. Please check all the commands in the script before running. The script is not tested much. So, report issue in repo to solve them.
### Future
Planning to do and local git framework using either Node / Django on top of this script to give user a web based GUI and accomedate multiple user when it is deloyed on a server. Contact me if interested in working on it.
Cheers!