View the songs you've listened to most recently on Spotify. From those songs, a list of recommended songs is generated. You can fiddle with how those recommendations are generated to tweak the results. Then, create a playlist of those recommended songs. Listen to that playlist and do the whole process over again.
Create a Spotify application.
Set http://localhost:9292/callback/spotify as a redirect URI.
bundle install
cp dotenv.sample .envModify .env to set environment variables, such as your Spotify client
ID and secret. Run rake generate:secret to generate SESSION_SECRET.
rake db:create
rake db:migrate
rackup
open http://localhost:9292RAILS_ENV=test rake db:create db:migrate
bundle exec rspecCreate an app on Heroku. Set
https://your-heroku-app.herokuapp.com/callback/spotify as a redirect
URI in your Spotify app.
heroku git:remote -a your-heroku-app
git push heroku master
heroku config:set SPOTIFY_CLIENT_ID=value_here
heroku config:set SPOTIFY_CLIENT_SECRET=value_here
heroku config:set SESSION_SECRET=value_here
heroku run rake db:migrate
heroku restart