Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Voxera115855yAre you running in google cloud?
If so, then you might not have a normal file system as that would require synchronization over multiple servers.
In that case, using their existing distributed db is probably easier than building a virtual file system just to support a node js module. -
msdsk31825y@Voxera
This though creates a pretty annoying disconnection between dev environment and production one. With netlify I'm also working with a cloud and yet, as the end user, I don't need to care about it, because their solution replicates the standard - I set up env variables from their web app and inside my code read from process.env -
Voxera115855y
-
Yep. Had that same conversation with an admin at work the other day:
A: "Can you not just make the arguments parameters for shell script?"
Me: "It is, just pass and environment file?"
A: "Yes yes, but can you make to where I can pass individual envvar?"
Me: "No :). If you want to modify it to do so, it's in git. Make the change, modify all the things that depend on it, run a full regression test and submit a PR I can decline."
A: "ah ok, sure sure, yes I will do"
Related Rants
-
tahnik63So I need to create a nice new web app. Let's look at some cool JS frameworks that I can work with. *5 mins l...
-
ahmedam23What only relying on JavaScript for HTML form input validation looks like
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
JESUS FUCKING CHRIST
Working with google shit is a fucking nightmare.
WHY DO THEY HAVE TO REINVENT EVERYTHING ALL OVER AGAIN?
Javascript already have a very standardised way of handling env variables. It's called dotenv. It's simple. It's efficient. But of course google can't have it and must use their own version WITH ENV VARIABLES BEING SETTABLE ONLY THROUGH CLI. Because who would ever want some kind of end user friendliness. That's for the weak, like users of netlify.
Fuck you, google. I wish you could rot in hell.
rant
js
firebase
firehosting
google