From 93eaf16dc857f697abd7b5bd775ff6a9412a05bf Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Tue, 11 Feb 2014 11:13:22 -0500 Subject: [PATCH] Node clusters clarification in project structure --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46b8196d5d..3ae8dd928e 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ Project Structure | **views**/layout.jade | Base template. | | **views**/home.jade | Home page template. | | app.js | Main application file. | -| cluster_app.js | Creates multiple processes of `app.js` using Node.js clusters.| +| cluster_app.js | Runs multiple instances of `app.js` using Node.js clusters.| :exclamation: **Note:** There is no difference how you name or structure your views. You could place all your templates in a top-level `views` directory without having a nested folder structure, if that makes things easier for you. Just don't forget to update `extends ../layout` and corresponding `res.render()` method in controllers. For smaller apps, I find having a flat folder structure to be easier to work with.