Node. js

Source: Internet
Author: User

Recently, the project needs to begin to understand some web socket-related knowledge, and the demo on the web socket official website shows something like nodejs. To be honest, I just switched from C ++ to upper-layer development, and I don't even know what this is. However, after searching for some information, I also learned something about it, I would like to share with you the integration of some resources ).

The relevant content of Node. js is fully explained. You can refer to this address:

Http://www.ibm.com/?works/cn/opensource/osnodejs/ I think this is still relatively incorrect.

Node. js: The http://nodejs.org/

However, you may not know how to start the node. js program. By searching on the network, we finally learned that in windows, we need to download the software cygwin, which is a unix simulation environment running on windows.

Cygwin use: http://www.linuxidc.com/Linux/2011-02/32324p2.htm

This article is also great, http://www.cnblogs.com/Darren_code/archive/2011/10/31/2207063.html

I have been using cygwin configuration for a long time. I am really tired because wget has never been used. You don't have to worry about downloading it in the command line, you can download it directly from the url I provided above. If you are not good at using commands like me, you can do it manually.

After trying for more than an hour, I read

Bytes.

Note that you want to start the node. js program in cygwin.

If your program name is example. js and is in the test folder of the E disk, you need to enter the following command.

$ Node E: \ test/example. js press Enter.


Hope to help people who need it.





This article is from the "typical lion man" blog, please be sure to keep this source http://zhouhongyu1989.blog.51cto.com/2931598/1288560

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.