3 ms·
Node-foreman does use environment variables. The usefulness of the tool (vs just straight env vars) is mostly in its ability to: 1) start multiple processes a
by hunterloftis 11y ago
Node-foreman does use environment variables.
The usefulness of the tool (vs just straight env vars) is mostly in its ability to:
1) start multiple processes at once during local dev, much like a process manager can on a platform like Heroku or a compose file can in Docker. For instance, I'm working on a system now that uses `web`, `game`, and `sms` processes - which can all be started together via `nf start`, and then when one crashes during development the whole system spins down.
2) inject env vars into a local app via `.env` files (similar to your config.json example)