ficus's avatar
Level 1

PHPStorm - remote server workflow

Hi guys,

I wonder - what is your workflow on project where you have to work on it remotely all the time? I'am developing several applications for some e-commerce saas platform, each app has to be added to its appstore before I can do anything with it. It requires https btw.

At this moment I'am using phpstorm + lsyncd to sync all files and everything to a staging server which is used as a app entry point. The problem is that this solution is quite limited - if I work on my private workstation first and then I would like to work on another machine - I would need to first sync all files - and repeat that every time I change a workstation. Not even to mention syncing composer actions.

PHPStore remote mode is also limited by above stuff as far as I know. There is another programmer who will work with me on these projects soon so I need some flexibility in my workflow.

The best solution I know is using Atom and Remote-FTP - as I can plug in and work on any machine immediately, however - it's Atom and I would love to stick with phpstorm.

Cheers

0 likes
2 replies
NickVahalik's avatar
Level 8

Develop locally and use a service like ngrok to proxy externally available URLs to your local environment. This gives you the best of both worlds. Your external SaaS app has an endpoint it can talk to and you can run everything using local development environments, use debugging, etc.

ficus's avatar
Level 1

Thanks! That exactly the same solution my friend suggested me a second before :-)

Please or to participate in this conversation.