Skip to content

jessefphipps/fighting-aggies-platform

Repository files navigation

Fightin Aggies Platform

Developing a analytical panel to generate insights that help facilitate the post-game analysis done by the coaches and players of Fightin Texas Aggies Football team.

Deployment - Heroku

Dependencies

  • Ruby~3.1.2
    • For Windows
    winget install RubyInstallerTeam.Ruby
    • For Ubuntu
    sudo apt-get install ruby-full // for Ubuntu
      brew install ruby // for MacOS
  • Rails~7.0.4
gem install rails
  • yarn~1.22.19
  • ffmpeg
    • For Windows,
      • Go to the link.
      • Extract the file to where you want it to be and rename it as ffmpeg.
      • Run the Command Prompt as admin and write
      setx /m PATH "path\to\ffmpeg\bin;%PATH%"
    • For Ubuntu,
    sudo apt install ffmpeg
  • Cucumber
    • For Ubuntu,
    sudo apt install cucumber
  • Minitests
    • Minitest is a testing tool present in the Ruby environment, and its gem can be included in the Gemfile (already done).
  • ChromeDriver
    • For Ubuntu,
    sudo wget sudo wget https://chromedriver.storage.googleapis.com/106.0.5249.61/chromedriver_linux64.zip
    sudo unzip chromedriver_linux64.zip
    sudo mv chromedriver /usr/bin/chromedriver
  • Chrome
    • For Ubuntu,
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    sudo apt install ./google-chrome-stable_current_amd64.deb
  • Selenium WebDriver
    • For Ubuntu, if the version of your Selenium WebDriver is higher than 3.142.7. Uninstall it, and install the older version with
    gem install selenium-webdriver -v 3.142.7

Installation and Running Instructions

git clone https://github.com/jessefphipps/fighting-aggies-platform.git
cd fighting-aggies-platform
bundle install
yarn install
/bin/dev

Testing Instructions

Run the server in your local machine and use a new terminal to run the tests using the commands given below,

cucumber
rake test