The are two parts to this app: the Spine front-end and the Rails backend. You can find the former in app/assets/javascripts/app
.
- Checkout the Git repository
- Create a SoundCloud App for each
production
anddevelopment
with a callback path of<host>/sessions/new
. Use the given information to create a config file inconfig/soundcloud.yml
:
development:
client_id: your-client-id
client_secret: your-client-secret
client_url: https://localhost:3000 # The base URL of the app. Should be HTTPS otherwise you'll get insecure-content errors with the bookmarklet.
production:
client_id: your-client-id
client_secret: your-client-secret
client_url: https://my-production-app.com
bundle install && rake db:setup
rails s
(thin start --ssl
for SSLdevelopment
server)- Open http://localhost:3000
- Check out
app/assets/javascripts/app
andapp/
to see how everything works.