Using Express framework under node, Ejs template engine

Source: Internet
Author: User

Ubuntu installs node NPM related


apt-get update apt-get install-y python-software-properties Software-properties-common add-a Pt-repository ppa:chris-lea/node.js apt-get update apt-get install Nodejs command after execution, node. JS installs Well, once node. JS has a new release, it can be upgraded directly, without having to compile the installation from scratch, so that node will be able to enter commands directly. In Ubuntu Environment, node is located under the/usr/bin path;
Execute, check whether the installation is correct NODE-V NPM-V executes the installation web framework NPM install-d EXPRESS-G represents the installation into the Node_path Lib, and-d means that the dependency package is also Mount If you do not have-G, the current directory will be installed (a Node_modules folder will be created).

Using Express framework under node, Ejs template engine

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.