Thanks for the video. But 'echo $CREDS..' part didn't work for me, do you think creating the same file using 'fs' would work?
@dawid_dahl
4 жыл бұрын
Could this file solution lead to potential problems due to the Heroku ephemeral filesystem? Anyway thank you for the video!
@ahrbil
4 жыл бұрын
Hello Ben have you found any better solution rather than env vars? I haven't found anything from google rather than the file path. I tried using env vars to store the auth file content, it works on the production server, but it overrides the file content when developing locally on my windows machine with the name of the env var. thank you for your helpful videos
@bawad
4 жыл бұрын
I've stuck to env vars
@MrAlexdunlop
5 жыл бұрын
Hey there, Google does have something for this you are right. Look into Cryptographic Keys that is correct way of doing it.
@MrAlexdunlop
5 жыл бұрын
If you look up build-config Cloud KMS crypto key that will also help you learn about secretEnv keys
@bawad
5 жыл бұрын
Cool thanks, I'll do that
@the_name_game
5 жыл бұрын
@@bawad did you have any luck with Cryptographic Keys or did you continue with your hack? I'm having the exact same issue.
@bawad
5 жыл бұрын
I got the environment variable to work so I haven't tried the crypto keys yet
@kantyDarius
5 жыл бұрын
Great Channel but audio is kinda low some times
@bawad
5 жыл бұрын
I'm going to start boosting the audio so this shouldn't be a problem soon
@omegahaifoleet
4 жыл бұрын
"postinstall": "echo \"$CREDS\" > creds.json" : generates empty creds.json "postinstall": "echo $CREDS > creds.json" : generates creds.json with "$CREDS" string inside what am i doing wrong?
@bawad
4 жыл бұрын
maybe the env variable is not being set?
@omegahaifoleet
4 жыл бұрын
@@bawad the env var is here(dashboard.heroku.com/apps/my-app-name/settings), but still not working... :(((, can you explain more in depth the steps?
@yisroelarnson9881
Жыл бұрын
Did you figure it out? I am trying to do this still.
Пікірлер: 26