"We have to start a radio station." - Ronan O'Rahilly
Ronan is an application that serves as a community radio station. Songs are added and stored in Redis. The app is built on Sinatra.
Specify an ENV['REDISTOGO_URL']
value if you are running in production mode (heroku does this for you automatically). In development mode, Redis' default location, redis://locahost:6379/0, will be used. Songs expire automatically after one week.
$ bundle install
$ ruby ./ronan.rb
Ronan est une application qui acte comme une station de radio collective. Les chansons sont ajoutées et mémorisées en Redis. L'application utilise Sinatra.
Ajoute un variable ENV['REDISTOGO_URL']
si tu utilise le mode de production (heroku l'ajoutera automatiquement). Au mode de développement, la location défaute utilisée par Redis, redis://locahost:6379/0, sera utilisée. Les chansons expireraient automatiquement après une semaine.
$ bundle install
$ ruby ./ronan.rb
Copyright (c) 2012 Gordon Diggs
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.