Skip to content

erinachavez/referee_hub

 
 

Repository files navigation

README

CircleCI codecov

Getting Started

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

  • System dependencies

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

    • install ruby through either RVM or RBENV
    • install postgresql through brew brew install postgresql
    • 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 foreman start -f Procfile.dev -p 3000 in your terminal.
  • 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
  • Deployment instructions More to come here soon.

About

The rebuilt referee development website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 61.5%
  • JavaScript 29.0%
  • HTML 8.8%
  • CSS 0.7%