svmehta / live-git

meteor hackathon project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

live-git

A real-time view of the Git status of your team!!!

To watch your working copies

Just run the install script from inside a cloned Git repository:

cd /path/to/working/copy
curl -L http://gitdashboard.com/install | /bin/bash

This will create the directory ~/.gitdashboard, install everything inside a virtualenv there, and run the watcher script. (To uninstall, just delete the directory.)

Work in Progress Notes...

  • Currently each branch you create locally is assumed to be tracking a remote branch of the same name located at "origin"
  • We run git fetch from the command line frequently to compare your current repository status to the remote, to avoid prompts for username and password it's best to set up your remote to fetch via ssh
  • There is not a lot of security at the moment. The url generated for the project is publicly accessible by anyone with the same url.

Running the server

Prerequisites

Getting started

  • git clone https://github.com/svmehta/live-git.git
  • cd live-git/python-client && pip install -r requirements.txt
  • cd ../meteor-live-git && mrt install
  • meteor

EC2 deployment

Before running the above, don't forget to set a security group (allowing in ports 22, 80 and optionally 3000) and install packages:

sudo add-apt-repository ppa:chris-lea/node.js \
&& sudo apt-get update \
&& sudo apt-get install -y git nodejs

Also, do the git clone into /var/www/live-git and run these after cloning:

sudo cp /var/www/live-git/deployment/live-git.nginx.conf /etc/nginx/sites-available/live-git \
&& sudo ln -s /etc/nginx/sites-available/live-git /etc/nginx/sites-enabled/live-git

sudo ln -s /var/www/live-git/deployment/init-script.sh /etc/init.d/live-git
sudo ln -s /etc/init.d/live-git /etc/rc2.d/S99live-git

About

meteor hackathon project

License:Apache License 2.0


Languages

Language:CSS 67.2%Language:JavaScript 15.9%Language:Python 13.0%Language:Shell 3.8%