brt
brt

Reputation: 153

PhpStorm Deployment Mappings: Deployment Path and Web Path

I'm trying to set up deployment to a Webfaction server.

Preferences>Build, Execution, Deployment>Deployment>Mappings:

Should both Deployment Path and Web Path point to the

/home/user/webapps/'my_webapp'

directory?

Upvotes: 1

Views: 2246

Answers (1)

texnic
texnic

Reputation: 4098

Here is the example of how you can set up the deployment mapping in PhpStorm, with one folder for the public files (accessible to the browser), and one folder for the server-side resources (cannot be accessed over HTTP). The web-path for the latter does not play any role of course, since it is not seen on the web.

PhpStorm screenshot

Upvotes: 2

Related Questions