Code Monkey home page Code Monkey logo

digital-signage-server's Introduction

digital-signage-server

The SAPO Digital Signage Server v2.0, Codebits 2014 Edition

Context:

This is the server we used to run our digital signage solution during Codebits 2014.

It was used to schedule hundreds of assets (including live data and video streams) across roughly 20 wide screen LCDs, wall projectors, etc. during the 3 days of the event, using a custom built Android client.

This repository contains (almost) all the source code we used, except for a private API to MEO Kanal - nevertheless, you should be able to tweak it to get it running without the missing bits.

In case you can't or are just curious about what it looked like, here's a screenshot we took during the event, with most of the assets loaded:

Managing assets and moving them between playlists is done entirely via drag-and-drop, using a Kanban component Hugo Lima developed for the Pink single-page web app framework (this repository includes a deployment snapshot of Pink).

Next Steps

As to future developments, the mqtt branch contains a reboot of this solution to use MQTT instead of HTTP polling in an attempt to provide real-time synchronization of multiple displays and integration with other hardware devices (such as lighting and projection controllers based on Arduino).

Credits:

How to run

There is a Vagrantfile, so you can get it more or less up and running in Vagrant using 'vagrant up'. Another, more manual way follows.

You should set up a virtualenv to install the required dependencies. And you need to set up some required config files for the app to start.

virtualenv env/
pip install -r requirements.txt

cp etc/users.json.default etc/users.json
cp etc/default.json.default etc/default.json

python manage.py add-user <youruser> <yourpassword>

You also need to install and start redis at this point. After you've done that, you can easily get the web service up and running:

python app.py

You probably also need to start the celery workers, and of course you'd need the clients for showing. But this should get you started.

LICENSING

Everything on this source tree is distributed under the MIT license. Go forth and hack it to your contentment.

digital-signage-server's People

Contributors

rcarmo avatar odinho avatar

Watchers

Miguel Chambino avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.