I am new to node.js and was going through an example could not understand app.set(\'title\', \'My Site\'); does please help?
Use the following
app.set('views', path.join(__dirname, 'views'));
This will set your apps view folder to something like:
/Users/jilles/Project/myApp/views