Git Product home page Git Product logo

music-site-rails's Introduction

Music Site

This is a simple Rails 3 app for a web site for hosting music of a single artist. It uses jPlayer on the front end to provide an HTML5 music player with a Flash fallback, and aims to support all modern browsers including mobile devices. Music files can also be downloaded in either MP3 or OGG formats. Some HTML5 canvas graphics are animated while the music plays.

Configuration

To be able to use this the following files need to be configured:

  • Create a config/database.yml file (you can copy config/database.yml.sample as a starting point)
  • Create a config/initializers/site_config.rb file by copying config/initializers/site_config.rb.example and modifying for your site
  • Create an admin user (using Devise for auth). I do this with the Rails console as [described here][1].
  • Once running, browse to /songs, and add new songs, uploading MP3 and OGG versions of your songs.

[1]: http://stackoverflow.com/questions/2708417/creating-an-admin-user-in-devise-on-rails-beta-3/2752839#2752839)

TODO

  • Handle case when site_config.rb is not configured or some of the variables in it are not configured
  • Easier way to initialize admin user
  • Alternative layout for mobile devices.
  • Test on more browsers
  • More animations!

Web sites using this

This is used by:

music-site-rails's People

Contributors

nileshk avatar

Watchers

 avatar  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.