Skip to content

Leaderboard that displays usernames and number of commits for devs in a given repository

License

Notifications You must be signed in to change notification settings

nickdibari/GitTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitTracker

Flask application to display a leaderboard for a repository's contributors

Setup

GitTracker requires a configuration file to set the repository to track, authentication for the Github API, and to set the debug variable for the Flask app. To set this file, create a file in the project directory named config.py. The following variables must be set in the file:

GITHUB_REPO = '{owner}/{repo_name}'
GITHUB_USERNAME = '{username}'
GITHUB_PASSWORD = '{password}'
DEBUG = {True/False}

Running the application

  1. Setup the virtual environment

    virtualenv env

    source env/bin/activate

  2. Install the requirements

    pip install -r requirements.txt

  3. Run the app

    python app.py

Navigate to 127.0.0.1:5000 to view the page

About

Leaderboard that displays usernames and number of commits for devs in a given repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published