Build NodeJs development environment (NODEJS+WEBSTROM) and Hello world! under Windows 7 system Display, the general idea is as follows: Step one: Install the NODEJS operating environment. Step Two: Install the Webstrom development tool. Step Three: Create and run the Nodejs project presentation Hello world!
1. Download Nodejs
Address:http://nodejs.org/
Click Install to finish, then install "Components",
2, install Webstrom, import NODEJS development plug-in
: http://www.jetbrains.com/webstorm/download/
After the installation is complete, import the Nodejs plug-in
3, create Nodejs project, show Hello World
After the creation is complete, the directory is as follows:
SHIFT+F10 Run, Access address: http://localhost:3000/
The effect is as follows:
Hello world! has been successfully displayed, work.
Nodejs the meanings of each directory, as follows:
The--node_modules folder is a variety of modules, this is the express framework and the Jade template engine.
The--public folder is a variety of static files.
The--routes folder is a variety of action. Well, routes is the meaning of the path, but I like to call it action.
The--views folder below is a variety of templates.
Successful brother, please praise, thank you ~
WIN7 build Nodejs development environment and HelloWorld display-illustrations