I’ve been trying to get Node to work through Passenger (enabled in the domain settings). I managed to get the app up and running but have one final problem I can’t find the solution of (at least I hope it is, haha!).
I have an env file that I open using env-cmd, so that particular command will have to be executed before starting the app itself.
There’s a script in package.json that does exactly this:
env-cmd -f ./env/dev.env node app.js. How do you get Passenger to execute that instead of just starting the app? If that isn’t possible, what do you suggest I do instead?
Thanks in advance!