- Create spotify application
- Put the client id and secret in
.env
- Create Slack Integration for 'Bot'
- Put the bot API key in
.env
- Create a public playlist in spotify to test with
- Make that playlist collaborative
- Get the playlist id and put it in
.env
- Make sure redis is running locally
- Start the app up with
foreman start
(install foreman if you don't have it) - Authenticate with spotify (public playlist editing scope) at: http://localhost:5000/auth/spotify
- Invite the bot to your slack channel
- Post a spotify track link in that slack channel
- Check the playlist (refresh might be needed) for the new track
(almost the same as development, but use new IDs, keys, etc and you need to set the env variables and redis env variable) (also you can spin down the web dyno since it isn't used for anything other than spotify auth)
- Follow steps 1-7 above
docker build -t "ppicazo:spotifried" .
docker run -p 5000:5000 ppicazo:spotifried
- Follow steps 10-13 above (url on a osx will be ip of docker vm)