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
本站内容仅供个人学习交流,不做为任何投资、建议的参考依据,因此产生的问题需自行承担。

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

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

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏