Skip to content

projectweekend/song-feed-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environment variables

  • AWS_ACCESS_KEY_ID: The AWS Access Key associated with your account
  • AWS_SECRET_ACCESS_KEY: The AWS Secret Access Key associated with your account
  • SPOTIFY_CLIENT_ID: The Spotify Client ID for your app in the Spotify Developer portal
  • SPOTIFY_CLIENT_SECRET: The Spotify Client Secret for your app in the Spotify Developer portal
  • ECHO_NEST_API_KEY: The Echo Nest API Key from your developer account page.

Build a Docker image

docker build -t name_of_image .

Launch worker container for local development

docker run -it \
-e AWS_ACCESS_KEY_ID=accessKeyValue \
-e AWS_SECRET_ACCESS_KEY=secretKeyValue \
-e SPOTIFY_CLIENT_ID=spotifyClientIdValue \
-e SPOTIFY_CLIENT_SECRET=spotifyClientSecretValue \
-e ECHO_NEST_API_KEY=echoNestApiKeyValue \
-v $PWD:/src name_of_image

Launch worker container

docker run --rm \
-e AWS_ACCESS_KEY_ID=accessKeyValue \
-e AWS_SECRET_ACCESS_KEY=secretKeyValue \
-e SPOTIFY_CLIENT_ID=spotifyClientIdValue \
-e SPOTIFY_CLIENT_SECRET=spotifyClientSecretValue \
-e ECHO_NEST_API_KEY=echoNestApiKeyValue \
-- name name_of_container name_of_image

About

An experiment with Spotify playlists

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages