DEV Community

Discussion on: A Project To Help Hong Kong

Collapse
 
th3n00bc0d3r profile image
Muhammad • Edited

How do you want to make it deployable for it to be effective?

I can contribute and work with the code, but maybe there might be a much more easier way.

Collapse
 
th3n00bc0d3r profile image
Muhammad

'''
execFile("C:/Program Files/MongoDB/Server/3.2/bin/mongod.exe", ['--version'], (error, stdout, stderr) => {
if (error) {
throw error;
}
console.log(stdout);
'''

This should kinda of fix that for windows env