PhpStorm editor automatically uploads the server after changing the file (graphic tutorial)

1. In the menu bar, find [Tools]->[Deployment/Deployment]->[Confinguration.../Configuration...]

Set the server connection information: IP, port, account number, password; the code is in the location of the server.
 

Set up

2. Set the server mapping Mappings and click ok

The location where the local code is stored, and the root location of the server, generally use "/" directly.

3. Set the code to upload automatically, and upload after saving

 The effect is as follows:

 

Guess you like

Origin blog.csdn.net/lchmyhua88/article/details/111034267