/my-screen

A Digital Signage solution

Primary LanguageRuby

MyScreen

Build Status codecov

Dependencies

To run this project you need to have:

To integrate this project to Heroku, you'll need:

Installing FFmpeg on Ubuntu 14.04

FFmpeg has been removed from Ubuntu 14.04. This decision has been reversed so that FFmpeg is available in Ubuntu 15.04 again. So, you only need to do this on Ubuntu 14.04

$ sudo add-apt-repository ppa:mc3man/trusty-media
$ sudo apt-get update
$ sudo apt-get install ffmpeg

Setup the project

  1. Install the dependencies above
  2. $ git clone <REPOSITORY_URL> my-screen - Clone the project
  3. $ cd my-screen - Go into the project folder
  4. $ gem install bundler - Install bundler on project gemset
  5. $ bundle install - Install project dependencies with bundler
  6. $ rspec - Run the specs to see if everything is working fine

If everything goes OK, you can now run the project!

Cron Jobs

The application has a Cron Job to notify terminals from playlists update.

In development, you can run $ whenever -w --set environment='development' to write the jobs from config/schedule.rb on the crontab file.

To clear the crontab file, you can run $ whenever -c.