搜索
您的当前位置:首页正文

PhpStorm自动部署

来源:二三娱乐

现假设 你的本地代码存放在

~/home/lee/huxin/huxintong_web

目录(建议是你的本地git仓库目录)下,并且 需要把 网站代码部署到本机的

目录下。
操作步骤如下:
1.file->settings(Ctrl+alt+s)->搜索框内输入deployment,做如下设置

Paste_Image.png

2.点击Mappings,做如下设置

Paste_Image.png

3.配置options ->upload changed files automaticlly to the default server

Paste_Image.png
Top