GithubHelp home page GithubHelp logo

amohapatra123 / codex-github Goto Github PK

View Code? Open in Web Editor NEW

This project forked from subhrajitprusty/codex-github

0.0 0.0 0.0 3.73 MB

Contributions of Codex Members on Github

Home Page: http://codex-github.herokuapp.com

Python 51.78% HTML 48.22%

codex-github's Introduction

codex-github

Contributions of Codex members on Github

Build Status

Resources Used

Build and Deploy

API Setup

  • Create an OAuth app on Github
  • Set environment value CLIENT_ID as the client_id of the OAuth app
  • Set environment value CLIENT_SECRET as the client_secret of the OAuth app

Database Setup

  • Create a MongoDB server. I've used MLab
  • Set environment value MONGODB_URI to the MongoDB server url
  • Create a collection members

Members setup

  • Add the members you want to show in users.json
  • Run python update.py
  • Wait for it to populate the database

Run the app and deploy

  • Install all dependencies pip install -r requirements.txt
  • Run python app.py
  • Browse to localhost:5000
  • Deploy to your preferred platform. I've used heroku.

Updating and maintainance

  • Create a scheduler to run python update.py every hour. (If it is run more than once an hour, you can get rate limited)
  • Everytime you add a new name to the list, it is safer to manually run python update.py
    rather than wait for it to update at the next schedule

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.