Closed realjax closed 4 years ago
Not sure what is going on but it seems to think it is not in production mode. the init.js from heroku still says this:
"apiKey": "xxx",
"authDomain": "node-red-home-automation-82192.firebaseapp.com",
"databaseURL": "https://node-red-home-automation-82192.firebaseio.com",
"projectId": "node-red-home-automation-82192",
"storageBucket": "node-red-home-automation-82192.appspot.com",
"messagingSenderId": "350438145283",
"remoteInitUrl": "/login/init.js",
"jsBaseUrl": "https://www.gstatic.com/firebasejs/5.6.0"
which are all default settings it seems..
The logs on Heroku also say this:
Warning, FIREBASE_CONFIG and GCLOUD_PROJECT environment variables are missing
Im going to close this, this is costing me too much time.
hey thanx for the comments. i will fix asap. can you try this?
https://github.com/andrei-tatar/nora-service/pull/20/files
during my testing i found out you also need FIREBASE_APIKEY and FIREBASE_AUTHDOMAIN but Andrei says its not needed
When you create the actions project, google automatically creates a firebase project. If you use that one, it's not needed. It's how NORA is currently deployed.
Notice the same project id in the url in actions console and firebase console.
I'm stuck at setting up on heroku.
I got it all deployed at heroku bu cant login to the app, it says
I added it to firebase of course as per the instructions,
but it still doesnt work. Any idea's ?