Coder Social home page Coder Social logo

sawqxd / augur Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chaoss/augur

0.0 1.0 0.0 39.79 MB

Python library and web service for GitHub Health and Sustainability metrics.

Home Page: https://chaoss.github.io/augur/

License: MIT License

Dockerfile 0.02% Makefile 0.14% Python 4.77% JavaScript 65.86% HTML 16.10% Vue 3.95% CSS 2.71% Jupyter Notebook 6.27% Shell 0.18%

augur's Introduction

Augur

branch status
master Build Status
dev Build Status

About Augur

Augur is focused on prototyping open source software metrics.

Functionally, Augur is a prototyped implementation of the Linux Foundation's CHAOSS Project on open source software metrics. Technically, Augur is a Flask web application, Python library and REST server that presents metrics on open source software development project health and sustainability.

Development


Vagrant

The quickest way to get started working on Augur is by using Vagrant to spin up a virtual machine (VM) that comes with Augur already installed. We'll do all the work of setting up and installing dependencies, leaving you free to jump right into contributing something awesome.

Caveat: if you’re a super nerd who likes to have total control over your development environment, there’s a local installation link at the bottom of this page. For the rest of you, Vagrant is the way to go, especially if you've had trouble getting all the dependcies installed locally, are not comfortable installing them yourself, or are using an OS for which we don't currently support local installation. We currently only support local installation for macOS and most flavors of Linux.

Windows installation instructions using Vagrant can be found here.

Dependencies

To get started, you'll need a VM provider- we currently only support Virtualbox. You'll also need to install Vagrant. To begin, clone the repository, enter the root directory, and run make vagrant.

# on your local machine
git clone https://github.com/chaoss/augur.git
cd augur
make vagrant

The first time you run this command, Vagrant will need to download the base box configuration. After that, it will provision the VM and then install Augur and its dependencies. Note: you'll probably see a fair bit of errors during this provisioning process as Augur is getting installed. Don't worry about them, most of them are harmless. Probably.

After this process has completed, the VM should be up and running. You'll then be automatically logged in to your newly provisioned VM. Log in as root with sudo su - and then navigate to /vagrant/augur. This folder is where you'll be working, as it's synced with your local version of Augur, meaning you won't have to worry about losing your changes after you shutdown the VM. You'll also be able to use your preferred editor. During the provisioning process, Augur will create a lightweight version of both the Facade and GHTorrent datasets, both of which we rely on for a lot of our metrics. You'll need to provide Augur with a GitHub Access Token (no write access required).

# inside the vagrant VM
sudo su -
cd /vagrant/augur

# due to vagrant weirdness, we have to manually install the python packages
sudo $AUGUR_PIP install --upgrade .

Augur will automatically create a config file called augur.config.json. Add your GitHub API key to this file under the section GitHub. At this point, you're ready to start developing! Run the backend with augur, or the frontend and backend together with make dev.

# to start both the backend and the frontend
make dev

If you're interested in adding a new plugin, data source, or metric, check out the backend development guide. If new visualizations are more your speed, you'll want the frontend development guide.

TL;DR
# on your local machine
git clone https://github.com/chaoss/augur.git
cd augur
make vagrant

# inside the vagrant VM
sudo su -
cd /vagrant/augur

# due to vagrant weirdness, we have to manually install the python packages
sudo $AUGUR_PIP install --upgrade .

# add your GitHub personal access token to augur.config.json

make dev
# full steam ahead!

Local Installation

To contribute to our code base routinely, we recommended that developers configure Augur on their local workstations. Start here to get a primer on the project, or jump straight into our local installation instructions for developers.

Guidelines

To contribute to Augur, please check out our development guide and notes on making contributions. Also, please note our code of conduct. We want Augur to be a welcoming development community that is open to everyone.

Roadmap

Our technical, outreach, and academic goals roadmap.

License and Copyright

Copyright © 2018 University of Nebraska at Omaha, University of Missouri and CHAOSS Project at the Linux Foundation

Augur is free software: you can redistribute it and/or modify it under the terms of the MIT License as published by the Open Source Initiative. See the file LICENSE for more details.

(This work has been funded through the Alfred P. Sloan Foundation)

augur's People

Contributors

howderek avatar ccarterlandis avatar sgoggins avatar gabe-heim avatar christiancme avatar abuhman avatar germonprez avatar nebrethar avatar tretrue avatar jzukosky avatar parthsharma2 avatar a-hodges avatar georglink avatar kmn5409 avatar mureinik avatar buhmana avatar bparish628 avatar gordongli avatar gouravsardana avatar jakeharding avatar micahswab avatar sawqxd avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.