Dabbler Rookie Learn Web Development 1--Configure the development environment

Source: Internet
Author: User

Talk about my own situation, I am a dabbler rookie, the Web development proficiency of 0, but familiar with C + + and Python

So here we begin to record the course of my study of web development, to see what I have learned here and where I can learn.

The first is the configuration environment, my compiler is vscode, the development environment is ubuntu16.04

1 Installing Vscode

Needless to say, the Vscode Web site can be downloaded to the Deb file, open a direct click to install

2 Installing Nodejs

Go to http://nodejs.cn/download/Download the node. js file I am the download installation package

Unzip into the/opt folder

Execute the following command

sudo ln -s /opt/node-×××/bin/node /usr/local/bin/node

sudo ln -s /opt/node-×××/bin/npm /usr/local/bin/npm

Then node-v see if the terminal can display version number, if it can, OK

We can't add node and NPM to the environment variables,

sudo gedit/etc/envionment

Add/opt/node-xxx/bin to ":" After

Save file exit after completion, run

sudo source/etc/envionment

This will enable node to run successfully.

3 Next run the simple JS file test on Vscode OK (will prompt you to generate Launch.json file to do it)

Dabbler Rookie Learn Web Development 1--Configure the development environment

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.