/7DIGITAL-Ruby-Store

7DIGITAL Store using the 7DIGITAL ruby wrapper with Sinatra

Primary LanguageCSS

Example of a webfront using the 7Digital ruby wrapper

Using Haml for templates

Sinatra for routing

Compass Blueprint for styles

RESTful

Don’t forget to add two environment variables for the 7Digital API credentials SD_API_KEY SD_API_SECRET Also add a host name environment variable for the login callback (no paths) SD_API_HOST_NAME /COUNTRY (i.e. /GB) to set country

/release/RELEASE_ID (i.e. /release/155408) to get to release page, preview player, release image..

/artist/ARTIST_ID to get to artist page

/search for search page

/locker user’s purchases if already logged in /user user’s details/edit page if already logged in

Dependencies:

7Digital Ruby Wrapper. You can get latest by going to github.com/filip7d/7digital It is now on rubygems so you can just use ‘gem install 7digital’ instead of pulling the source.

publicskin publicjs JPlayer 2.0.0 with Blue Monday skin. You can get it www.jplayer.org/