Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhpStorm: How to export deployment settings from a project to another one?

I need to export my deployment settings from a project to another one. How can I do this? I tried to export all the settings [File -> Export Settings...] and import them into the new project but I have no configuration available in the Deployment server list.

like image 657
rvandoni Avatar asked Apr 11 '17 07:04

rvandoni


2 Answers

Easier way is to uncheck the "visible only for this project" setting. It will be visible for all of your projects.

screenshot

like image 159
John Kakon Avatar answered Oct 21 '22 22:10

John Kakon


Copy both .idea/deployment.xml and .idea/webServers.xml from the first project to the second one. Watch out, because that will overwrite the second project's settings.

like image 20
Lorenzo Marcon Avatar answered Oct 21 '22 20:10

Lorenzo Marcon