sagarankoliya / realtime-private-chat-nodejs-socketio-vuejs-laravel

Realtime Private Chat NodeJS SocketIO Vue JS Laravel
82 stars 34 forks source link

Disable export NODE_ENV=dev #12

Closed erfanhemmati closed 5 years ago

erfanhemmati commented 5 years ago

How i disable export NODE_ENV=dev ?

sagarankoliya commented 5 years ago

Hi

Didn't get your point, can you please elaborate.

Thanks,

erfanhemmati commented 5 years ago

my question is. What does the following piece of code do? export NODE_ENV=dev

sagarankoliya commented 5 years ago

It will set program environment, like for development or production

erfanhemmati commented 5 years ago

How i can disable this command ?

sagarankoliya commented 5 years ago

Hii,

Why you are need to disable this? this is the best way to use environment in node.

anyway If you need to remove this command, find this string in node project 'process.env.XXX' XXX is like PORT, HOST, etc and replace with your config directly.

Thanks,