WIN7 build Nodejs development environment and HelloWorld display-illustrations

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.