googlearchive / flashlight

A pluggable integration with ElasticSearch to provide advanced content searches in Firebase.
http://firebase.github.io/flashlight/
756 stars 144 forks source link

FB_TOKEN ?? #139

Open unamcneillnuim opened 7 years ago

unamcneillnuim commented 7 years ago

Hi

I am having issues getting past the following in setting up heroku config:set FB_NAME= FB_TOKEN=""

I am assuming the FB_NAME Firebase is my app name? What is the FB_TOKEN?

I followed thread or query number 62 but it did not directly answer this query that I can see

Many thanks

theronic commented 7 years ago

It looks like FB_TOKEN was deprecated in favour of FB_SERVICEACCOUNT: https://github.com/firebase/flashlight/pull/62/files

README needs to be updated

moultz commented 7 years ago

@theronic Hey do you know how this is now meant to work, what part of the service-account.json are we meant to add to FB_SERVICEACCOUNT or does Heroku still take FB_TOKEN as an argument?

katowulf commented 7 years ago

Consider the comments in config.example.js authoritative. PRs to fix the docs welcome.