Description: A simple web application for local, private git repository management written in Sinatra Copyright (c) 2009, 2010 Martin Gajdos
released under the MIT license
Shagit is a simple web application for managing your local git repositories. There's no need for a database and repositories are being privately published using ssh.
- Sinatra
- Haml
- Grit
- Rack-Test
- Webrat
You will need a working installation of Ruby >=1.8.6, RubyGems >= 1.3.5 and Git >= 1.5
You can either clone this repository, or install the gem:
git clone git://github.com/unabatede/shagit.git
Inside the repository, install the required gems by running:
rake setup
Take a look at 'config.yml' to see if you want to change any of the settings including the password for the admin user
Run it (you should consider other options for production deployment, see below):
cd shagit
ruby shagit.rb -e production
Install the gem by running:
gem install shagit
Take a look at the 'config.yml' to see if you want to change any of the settings including the password for the admin user
Simply start by executing:
shagit
Using Apache & Phusion Passenger and the following to a new virtual host file (adjust to suite your needs):
<VirtualHost *:80>
DocumentRoot /var/www/shagit/public
<Directory /var/www/shagit/public>
Allow from all
Options -MultiViews
</Directory>
</VirtualHost>
Also, inside Shagit's folder, create a 'tmp' and 'public' folder:
cd /var/www/shagit
mkdir tmp; mkdir public