Skip to content

Randomly choose a feature film from TMDB.

Notifications You must be signed in to change notification settings

harrisonokins/movie-roulette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Randomly choose a feature film from TMDB.

Resources

Stars

Watchers

Forks

Releases

No releases published