Coder Social home page Coder Social logo

opensource-ny's Introduction

What is OpenSource NY?

OpenSourceNY App(OSNY) is a tool that tracks contributions made by a participant, and then rank the participants using a leaderboard-esque ranking system. Specifically, it is a tool designed to track participation in Open Source NYC's open source contribution challenge held over the summer in which participants are tasked to contribute, such as opening a pull request or issue, to open source projects in any way.

In other terms, the tool should let participants register to join the challenge or send an email of interest, record activity metrics, and rank participants using a leaderboard.

For any users that opts in, given a GitHub repo and GitHub username, the software will keep track of stats for that users in relation to the GitHub repo.

Features (including stats that we will keep track of)

  • Listing Pull Requests from a specified Github Repo.
  • WIP

Dependency

  • npm 3.5.2 (All the other sub dependencies are in various package.json files, doing an 'npm install' on that directory will install the dependencies)

    For Ubuntu 18.04.2 LTS bionic:

sudo apt-get update --yes
sudo apt-get install npm --yes
sudo apt-get install postgresql postgresql-contrib

How to run

  1. In one terminal, run this to get the server running (only need to do npm install on your first time, to install all the node_modules):
cd src/myapp/server
npm install   
npm start
  1. In a second terminal, run this to get the front end running (only need to do npm install on your first time, to install all the node_modules):
cd src/myapp/client
npm install
npm start
  1. Now go to your browser and open http://localhost:3000/ Voila!

NOTE: When npm start on REACT, you maybe run into this error:

fs.js:1384
  throw error;

To fix: Reference

  • add 'fs.inotify.max_user_watches=20000' without the single quotes into your /etc/sysctl.conf on the very last line. Change the number to however much you want. The error aboves results from the number being too small, so change it to a big enough number. How big? I don't know, depends on how much files you have in your REACT App.
  • After you edit that file, run the following to load in the sysctl setting from /etc/sysctl.conf
sudo sysctl -p

How to contribute

PLEASE FORK, and follow a proper git work flow when you have a feature done, do a PR PLEASE DO NOT MAKE DIRECT EDITS TO THIS REPO

If you see any bugs, on documentations, codes, etc please open an issue describing the bug. Thanks!

Refer to CONTRIBUTING.md

For start(this section is for initial development of this project, will be removed from this README.md once we have a base to build on top of)

Here are the 4 features that we would like to have as a base to work off on:

  • User opt in feature
    • Sign up form on the front end
    • connect to back end and fill in to data base
      • GitHub username
  • Base on a project-repo and GitHub username, will keep track of stats
    • Numbers of PR
    • Numbers of merged PR
  • Responsive Website
    • For Mobile
    • For Desktop
  • Data visualization of the stats that we will keep track of
  • Any other features

OpenSourceNY App

opensource-ny's People

Contributors

yizongk avatar fioringo avatar mxmsunny avatar undid-iridium avatar opensource-ny avatar chocolate-spaghet 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.