N
Novu2mo ago
YingPang

Is there a more detailed description for the different NODE_ENV values?

According to https://docs.novu.co/community/run-in-local-machine#set-up-your-environment-variables "NODE_ENV (default: local) The environment of the app. Possible values are: dev, test, production, ci, local". By side searching the code, is there a more detailed description of what each value means? In my setup i used initially test for our test enviornment. This prevented the WS from pushing updates for the notification bell, but at the same time properly registering connenctions and disconnections with the WS. Which at first made me think that maybe the Websocket was setup wrongly. (Switching the value to local, dev and production pushing the notification bell update started to worke again.)
Novu
Run Novu in local machine - Novu
Prerequisites and steps to run Novu in local machine. Learn how to set up Novu on your local environment for testing and development.
2 Replies
Pawan Jain
Pawan Jain2mo ago
@YingPang Unfortunately, We don't have documentation for this Would you like to share the usecase on running novu in local machine?
YingPang
YingPangOP5w ago
Sorry for not responding, i will summarize my findings probably next week.

Did you find this page helpful?