4 ms·
Aren’t node projects just npm i; npm start? Maybe clearer documentation would help. Like step by step what commands to run to build and run. It's weird I see so
by haecceity 7y ago
Aren’t node projects just npm i; npm start? Maybe clearer documentation would help. Like step by step what commands to run to build and run. It's weird I see some projects that expect contributors to figure that out themselves. Or maybe they don't want contributors.
- closingin 7y agoI'm more asking about how you start an entire dev environment, like when you have your front 1, front 2, api 1, microservice 1-2-3-4, ... that all need to be running in order for you to start working. For example: using pm2 to start your entire stack in one command (only when it's all nodejs obviously) It's not really related to the tech you use for every project :)
- ldoughty 7y agoWe use docker compose to stand up our micro services. If there's an order you really need, and you can't get around it, try netcat (nc) to knock on the port in a loop until it gets a successful response.