立诚勿怠,格物致知
It's all about connecting the dots

Use IntelliJ IDEA to Deploy Project through SFTP

Sublime Text is a good editor. It’s lightweight and quite responsive. However, while compared with IDE like IntelliJ IDEA, there are still some shortcomings.

Several months ago, when I want to upload my frontend files to the online server, I need to open a local FTP/SFTP client and then upload files. This is not a fussy thing is you only do it in a low frequency. But when you need to do it in a high frequency, it certainly becomes fussy. With the help of IntelliJ IDEA, things can be much simpler. When you want to upload some files, you don’t need to leave your editor (IDE), you just stay on it and right click your mouse on the target file or folder, and you will find target menu like “upload to xxx.xx.xx.xxx”.

Of course, IDE doesn’t know where you want to upload your files to. So a little configuration working is necessary.

Tools -> Deployment -> Configuration… -> “+” to add server. Then is the detail to fill. Here is an SFTP example.

Connection:

SFTP host: 192.168.1.82

Port: 22

Root path: /usr/local/apache-tomcat-7.0.20/webapps/picWorkTest/

User name: root

Auth type: Password

Password: xxxxxx

Mappings:

Local path: C:\Users\Yakima Teng\Documents\wxtl-projects\CarInsurance-wechat\src\main\webapp\static\timecloud-refactor\hunansong

Deployment path on server ‘192.168.1.82’: /vehicleDemoNew

Web path on server ‘192.168.1.82’: /

Excluded Paths:

N/A.

赞(0) 打赏
文章名称:《Use IntelliJ IDEA to Deploy Project through SFTP》
文章链接:https://www.orzzone.com/use-intellij-idea-to-deploy-project-through-sftp.html
商业联系:yakima.public@gmail.com

本站大部分文章为原创或编译而来,对于本站版权文章,未经许可不得用于商业目的,非商业性转载请以链接形式标注原文出处。
本站内容仅供个人学习交流,不做为任何投资、建议的参考依据,因此产生的问题需自行承担。

评论 抢沙发

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续给力提供更多优质内容!

支付宝扫一扫打赏

微信扫一扫打赏

登录

找回密码

注册