This is a Rails web app to view movies information like IMDb. It fetches movie data from http://www.omdbapi.com
- Go to http://www.omdbapi.com/ and obtain a new API KEY (http://www.omdbapi.com/apikey.aspx)
- Copy the file .env.example from the repository to .env
- Edit .env and replace [YOUR-OMDB-API-KEY] with the API KEY you obtained from omdbapi.com
- Run
bundle install
- Run
yarn install --check-files
if you get errors about not locating integrity file
- Run
rails db:migrate
, development version will run using sqlite3 (make sure you have this installed, should be installed by default on most Mac environments) - Run
rails server
(or userrails server -p PORT
for a different port - Navigate to http://localhost:3000 in your browser (or use the port you used above)
The link to the app deployed on Heroku https://pacific-depths-32072.herokuapp.com/