Skip to content

Easily view all your contributor commit statistics to your organisation's projects in one place.

Notifications You must be signed in to change notification settings

fubralimited/github-org-contributor-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-org-contributor-stats

Easily view all your contributor commit statistics to your organisation's projects in one place.

Dependencies

This project requires composer to install dependencies such as knplabs/github-api. You can find some instructions to install composer here, or you could just do...

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

Setup

Clone the repository

git clone [email protected]:fubralimited/github-org-contributor-stats.git

Run composer to install dependencies.

cd github-org-contributor-stats
composer install

Add your github API keys to the config file. You can set up a personal access token here.

cp config.php.example config.php
vim config.php

Running the import script

Import your repository commit data into the local SQLite database by running the import script from your command line:

php -f src/import.php

Viewing the web interface

You can access the web interface through PHP's built in web-server, or using the Vagrant box (see below). To use PHP's webserver run the following command from your command line:

cd http
php -S localhost:8000

You should then be able to access the web interface through http://localhost:8000

Vagrant & Ansible

If you can't use PHP's built in webserver, or you wish to test the scripts in a full LEMP environment, then you could use our Vagrant / Ansible scripts to deploy a development virtual machine (Vagrant box).

This project includes a VagrantFile and Ansible configuration to set up a local LEMP (Linux, NGINX, MySQL, PHP) test environment from which you can run the scripts. To use this, you will need VirtualBox, Vagrant and Ansible installed.

Firstly, install the ansible role requirements

sudo ansible-galaxy install -r requirements.yml

Then launch the Vagrant box with:

vagrant up

You should then be able to access the site via your browser on http://192.168.33.34

Author Information

About

Easily view all your contributor commit statistics to your organisation's projects in one place.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages