GithubHelp home page GithubHelp logo

declanramsay / referee_hub Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iqasport/referee_hub

0.0 1.0 0.0 12.85 MB

The hub for all internal data and management of that data in the IQA.

Ruby 44.57% JavaScript 0.86% CSS 0.82% HTML 7.16% Shell 0.01% TypeScript 46.44% SCSS 0.15%

referee_hub's Introduction

README

CircleCI codecov Heroku CodeFactor

Getting Started

It's highly recommended you use a ruby version manager during development of this app. The locked ruby version is '2.7.1' and is required to develop on the application.

  • System dependencies

    • ruby 2.7.1
    • bundler
    • yarn
    • postgresql
    • foreman
    • redis
  • Tips in case of missing system dependencies

    • install ruby through either RVM or RBENV
    • install postgresql through brew brew install postgresql
    • install redis through brew brew install redis
    • install yarn brew install yarn
    • install foreman gem install foreman
    • install bundler gem install bundler
  • Setup and running

    • After you've cloned the repo and installed ruby, run in the root folder referee_hub/:
      • bundle install to install ruby gem dependencies
      • yarn install to install javascript dependencies
      • rails db:setup to create the backend database (postgresql must be running)
    • To run the application enter ./bin/start from the root folder. If you're having permission issues running the script make sure you ensure the script is executable by running chmod +x ./bin/start
  • How to run the test suite

    • Backend specs can be run like: be rspec spec/models/referee_spec.rb
      • You can also run a subset specs by including a line number like: be rspec spec/models/referee_spec.rb:37
  • Contributing to the codebase

    • Create a branch off of master detailing the work you'll be doing. git checkout -b testing-framework-backend
    • Break up your work with small, iterative, commits that describe the changes that have been made. A typical branch could look like:
        - @AfroDevGirl Adds referee_answer model to store a referee's answers relative to a test ce1a18b
        - @AfroDevGirl Adds testable question count to test so questions can be randomly selected 46e4dcd
        - @AfroDevGirl Adds test starting functionality to api 3751d76
        - @AfroDevGirl Adds test finish functionality 62a4632
        - @AfroDevGirl Adds test result mailer and fixes webpack version issue 8278148
        - @AfroDevGirl Adds validation for tests in cool down period 45c2dab
        - @AfroDevGirl Fixes spec running 7ab56ca
      
    • Push up your branch by running git push -u origin testing-framework-backend and create a new Pull Request. Be as descriptive as possible in the PR comment about the work you've done.
    • After all checks have passed your code will be able to be merged
  • Deployment instructions

    • Deploys are automatically managed through Heroku after a branch is successfully merged. Changes to the deploy process should be made in Procfile

referee_hub's People

Contributors

afrodevgirl avatar code-factor avatar dependabot[bot] avatar mobolanleadebesin avatar netzhuffle avatar snyk-bot avatar

Watchers

 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.