Skip to content

DE-L-TA/codex-github

This branch is 30 commits ahead of, 20 commits behind SubhrajitPrusty/codex-github:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e1f3922 · Jul 1, 2020
Apr 4, 2020
Jul 1, 2020
Feb 2, 2020
Apr 4, 2020
Oct 20, 2019
Oct 13, 2018
Apr 4, 2020
Apr 4, 2020
Apr 4, 2020
Apr 4, 2020
Apr 4, 2020
Apr 4, 2020

Repository files navigation

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

About

Contributions of Codex Members on Github

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 51.8%
  • HTML 48.2%