how do I set up this complicated enviroment in phpStorm?
We have a vagrant, in dir, say, ~/vagrantbox, it forwards port 8080 to 80
in ~/vagrantbox/app we have our app, that has 4 dirs:
2 of them (one is called 'current', other has libraries) is tracked in svn,
one with libraries in other svn,
one with other libraries in git
there are 3 "services" on that vagrant server:
http://frontend.mycompany.local:8080 corresponds to ~/vagrantbox/app/current/frontend/www
http://backend.mycompany.local:8080 corresponds to ~/vagrantbox/app/current/web/admin
http://service.mycompany.local:8080/api/someStuff corresponds to ~/vagrantbox/app/current/service/my/a/someStuff
(all those domains points to my localhost)
On the vagrant VM we have php with xdebug, that I was luckily able to connect to and debug.
We plan to use PHPUnit too.
- how do I create project from exisitng files - choose local files and local machine, or remote?
- How do I set up folders and their associations to web server on vagrant so I can run or debug code on vagrant form PHPStorm?
- How do I set up CVS in PHPStorm with those 3 repositories?