Coder Social home page Coder Social logo

kschumy / ada-prs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ada-developers-academy/classroom-app

1.0 3.0 1.0 591 KB

Application for tracking and providing feedback on Ada student PRs

Home Page: http://classroom.adadevelopersacademy.org/

Ruby 83.24% HTML 10.60% JavaScript 1.69% CSS 4.48%

ada-prs's Introduction

Ada Pull Request Application

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.

Overall Setup

To setup the application overall, it requires the initial seeding of classroom information as well as students.

Project Setup

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.

Roles

Ideally this application has configuration for two different roles, Instructor and Student. Instructors shall have access to configuration for Students, Assignments and submitting Feedback. Students shall have access to their submissions and the corresponding URLs to their PR as well as feedback (once submitted).

Development Setup

  1. Clone this repo
  2. rvm install ruby-2.2.1
  3. gem install bundle
  4. bundle install
  5. Email Charles to get the lib/seeds/students.csv file, and add it to the project. It will be ignored by git.
  6. bin/rake db:migrate
  7. Register a new app on github, with a callback URL of http://localhost:3000/auth/github/callback
  8. touch .env
  9. Add the GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET from the app you just registered to the .env file
  10. rails s
  11. App should be running at localhost:3000

IMPORTANT!

Things NOT done from Rails Guide update list

Issues

  1. enum gem no longer supported.
  2. btree thing missing from schema
  3. workaround for tests is probably wrong (or maybe not?? https://stackoverflow.com/questions/43797133/controller-spec-unknown-keyword-id)
  4. gems for markdown preview no longer works or is supported. List is possible replacements

Kirsten's Random Notes

from /Users/kirstenschumy/Documents/Ada/capstone-project/ada-prs/app/assets/javascripts/application.js
//= require epiceditor

Significant Changes

  • repos table renamed to assignments
  • cohort table renamed to classroom
  • front-end deleted

ada-prs's People

Contributors

hamled avatar kariabancroft avatar kschumy avatar letitran avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

cheezitman

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.