Last year, Ali Cloud released the local IDE plug-in Cloud Toolkit, IntelliJ IDEA platform alone, more than 150,000 developers downloaded, experienced the one-click deployment brought by the development convenience. One year later today, Ali Cloud officially released the version of Visual Studio Code, which fully covers front-end developers and helps front-end realize one-click packaging deployment, accelerating development by 8 times.
What can the VSCode version of the plug-in do now?
After installing the plug-in, developers can immediately experience any of the following features:
- Package and deploy the Code in local Visual Studio Code to any Aliyun ECS server with one click;
- Package and deploy Code from local Visual Studio Code to any remote server with one click;
- Send and execute the specified command to any Aliyun ECS or any remote server (online next week); VSCode version of the plug-in is constantly updated and iterated, more powerful features will be released soon, please look forward to! Or demand to us!
How do I download a plug-in?
Developers can download plug-ins by installing them online or offline:
- Online Installation: To install from Visual Studio Code’s Marketplace, visit the plugins page and click here.
- Offline installation: in the plug-in group (at the end of the text scan code into the group) to obtain the offline installation package, for offline installation; Aliyun Cloud Toolkit is installed in the same way as any other plug-in, so I will not repeat the details. The plug-in functions will be introduced in detail below.
One-click package deployment
1. Add a server
As shown below, on the left side of Visual Studio Code, click the Alibaba Cloud icon. In the menu that appears, click Alibaba Cloud Toolkit – Host View to open the machine View interface.
Then click the Add Host button in the upper right corner to appear the interface of adding machines, as shown in the picture below. Fill in the corresponding MACHINE IP, port, user name and password as prompted.
Second, the deployment of
Click Run Configurations – Deployments – Deploy to Host to create a new deployment configuration that looks like this:
Set the deployment parameters in the Deploy to Host dialog box, and then click Apply to save. Deployment parameters:
- Name: Not configured Defines a Name to make it easier to distinguish multiple configurations;
- File: Select the packaging mode.
- Project: Select the root directory of the Project to be deployed.
- Build Output Directory: package Output Directory;
- Webpack Configuration: Webpack Configuration;
- Target Host: indicates the remote Target server.
- Target Directory: specifies the deployment Directory on the remote Target server.
- After deploy: Enter the application startup command, for example, sh /root/restart.sh, to be executed After the application package is deployed. This command is usually a Tomcat startup command for Java programs.
Read more: https://yq.aliyun.com/articles/743040?utm_content=g_1000102887
On the cloud to see yunqi: more cloud information, on the cloud case, best practices, product introduction, visit: https://yqh.aliyun.com/