/slikflik

A webservice for movie recommendations

Primary LanguageCSS

SlikFlik

Build Status Code Climate Dependency Status Coverage Status

Development

Prerequisites

  • Run install_dev.sh to install the Neo4J database package version 1.9 for testing and development and set the right ports.

  • Install gems with bundle install.

  • Get an API key for themoviedb.org and assign it to the TMDB_API_KEY shell environment variable by creating a file .env:

     # Replace 1234567890 with your key
     echo TMDB_API_KEY=1234567890 > .env
    

    This file will be used by foreman to set the right environment variable for the application.

Getting started

Start the application and the databases with bundle exec foreman start -f Procfile.dev and browse to http://localhost:9292

Run tests with bundle exec rake – this does not require an API key as API responses are prerecorded in test fixtures.