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