Project

shagit

0.0
No commit activity in last 3 years
No release in over 3 years
A simple web application for local, private git repository management
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.5.3
>= 0.7.0

Runtime

>= 2.0.0
>= 2.2.20
>= 0.9.4
 Project Readme

Shagit

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

Introduction

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.

Dependencies

  • Sinatra
  • Haml
  • Grit
  • Rack-Test
  • Webrat

Installation

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:

Clone the repository

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 Gem

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

Deployment

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