outcomes-keyan-hardman / lastfmtospotify

Converts Last.fm loved tracks to a Spotify playlist.
9 stars 2 forks source link

Error: Must define spotify CLIENT_ID, CLIENT_SECRET & MONGO_URI in environment vars #9

Closed ronilaukkarinen closed 8 years ago

ronilaukkarinen commented 8 years ago

Hello. Documentation is not clear. I have also tried to set up .env, but still getting the error message Error: Must define spotify CLIENT_ID, CLIENT_SECRET & MONGO_URI in environment varsError: Must define spotify CLIENT_ID, CLIENT_SECRET & MONGO_URI in environment vars.

outcomes-keyan-hardman commented 8 years ago

@ronilaukkarinen I notice now that the documentation is missing MONGODB_URI, you will need to run a local instance of MongoDB to set that environment variable. Here is what my environment looks like: http://imgur.com/a/EftQX

If you cannot get it to work you can visit http://lastfmtospotify.heroku.com/ to use the tool.