This app is created to use the GitHub API to read pull request data for configured projects in order to determine whether or not a student has submitted their assignment.
To setup the application overall, it requires the initial seeding of cohort information as well as students.
Each individual project must be added to the list of repositories to be set up for configuration. The URL for each individual repo should be in the "Ada-CX/ProjectName" format. No additional portion of the URL needs to be provided. The repo configuration shall indicate whether or not the project was set up as individual or group, in order for the logic to appropriately determine submissions.
Ideally this application has configuration for two different roles, Instructor and Student. Instructors shall have access to configuration for Students, Repos and submitting Feedback. Students shall have access to their submissions and the corresponding URLs to their PR as well as feedback (once submitted).
rvm install ruby-2.6.3
gem install bundler -v 1.17.3
bundle install
lib/seeds/students.csv
file, and add it to the project. It will be ignored by git.bin/rake db:migrate
http://localhost:3000/auth/github/callback
touch .env
GITHUB_CLIENT_ID
and GITHUB_CLIENT_SECRET
from the app you just registered to the .env
filerails s
localhost:3000