Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Generate ambient, atmospheric, or peaceful Spotify playlists that you can work to.

Notifications You must be signed in to change notification settings

cheshire137/working-dont-bother-me

Repository files navigation

Working, Don't Bother Me

Generate ambient, atmospheric, or peaceful Spotify playlists that you can work to.

The inspiration for this app comes from my desire to have new music that doesn't distract me when I'm coding. It's jarring when I'm focused on a problem and the music playing has an annoying segment, distracting lyrics, or otherwise something that makes me hunt down my music player to change the track. I'm also lazy about wanting to find new music when I'm programming, so I wanted to get new music in the quickest way: by hitting a button in an app!

The name of this app comes from my manually curated Workin' Don't Bother Me playlist on Spotify.

Screenshot

How to Develop

Create a Spotify app. Set http://localhost:3000/users/auth/spotify/callback as a redirect URI.

bundle install
npm install
rake db:setup
rails db:migrate
cp dotenv.sample .env

Modify .env with your Spotify app's credentials.

bundle exec rails s
open http://localhost:3000

How to Deploy to Heroku

Create an app on Heroku.

Create a Spotify app if you haven't already. Set https://your-heroku-app.herokuapp.com/users/auth/spotify/callback as a redirect URI.

heroku git:remote -a your-heroku-app
heroku buildpacks:add https://github.com/heroku/heroku-buildpack-nodejs.git
heroku buildpacks:add https://github.com/heroku/heroku-buildpack-ruby.git
heroku config:set SPOTIFY_CLIENT_ID=your_client_id_here
heroku config:set SPOTIFY_CLIENT_SECRET=your_client_secret_here
git push heroku master
heroku run rake db:migrate
heroku open

About

Generate ambient, atmospheric, or peaceful Spotify playlists that you can work to.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published