Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 829 Bytes

Readme.md

File metadata and controls

14 lines (13 loc) · 829 Bytes

Movie Roulette

This is a basic Ruby process that randomly chooses a feature film from TMDB's catalogue.

Installation

  1. Make sure rbenv is installed: https://github.com/rbenv/rbenv#using-package-managers
    1. Install ruby: rbenv install 3.3.6
    2. Initialize rbenv: rbenv init (this can also be exported to your ZSH shell by running echo 'eval "$(~/.rbenv/bin/rbenv init - zsh)"' >> ~/.zshrc)
    3. Set your working directory to use the just-installed Ruby version: rbenv local 3.3.6
  2. Make sure bundler is installed: gem install bundler
  3. Install all dependencies: bundle install
  4. Start the server: ruby movietime.rb
  5. Visit http://127.0.0.1:4567
  6. Click "Begin" (or, alternatively: directly navigate to http://127.0.0.1:4567/movie)
  7. Viola! A wild movie appears!