Skip to content

booo/gid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Gid?
============
It's a simple git server with web a frontend.

Getting Started
===============

Clone the repository

  $ git clone https://github.com/cholin/gid
  $ cd gid

Virtual environment
-------------------

First you need to configure a virtual python environment.

Install virtualenv with your package manager of choice

  $ pip install virtualenv
or
  $ sudo apt-get install python-virtualenv

Then you need to create your environment

  $ virtualenv env

After that you activate your environment in your shell with the following
command

  $ . env/bin/activate


Install Dependencies
--------------------

  $ sudo apt-get install python-twisted-conch

  $ pip install Flask Flask-Principal Flask-WTF Flask-SQLAlchemy pyyaml dulwich\
 pyasn1 pygments restkit py-pretty


Creating the database
---------------------

  $ bin/api-create-db

if you want some samples for testing
  $ bin/api-seed-db


Start everything
----------------

for the rest api
  $ bin/api

for the actual frontend
  $ bin/web

for the ssh daemon
  $ bin/sshd

Now you should be able to view the web frontend with your browser of choice:

  http://localhost:5001/

If you create a user and save your public ssh key through the web frontend,
you will be able to push to your git repositories.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages