RubyMine scp远道同步部署代码

RubyMine scp远程同步部署代码tools-deployment-configuration新建centos_drivelink_serverconnection t

RubyMine scp远程同步部署代码

tools->deployment->configuration

新建centos_drivelink_server

connection 

type: sftp

sftp host:192.168.106.94

port:22

Root path: 使用auto detect

User name:root

Password:**** (Save password)


mapping

Deployment path on server ,选择目录。

web path on server 使用"/"


Excluded Paths

public目录(视情况而定)

tmp目录

Gemfile.lock文件

log目录


个别设置

详细日志:tools->deployment->option->operations logging: Details

自动上传:tools->deployment->automatic upload(always)