Skip to content

A simple web application for local, private git repository management

License

Notifications You must be signed in to change notification settings

unabatede/shagit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple web application for local, private git repository management

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages