Reputation: 537
I have the project in the remote server and i have only ssh access. How i can work with this project? I am looking for information for either PhpStorm or NetBeans.
Upvotes: 9
Views: 11534
Reputation: 7808
I don't know about NetBeans, but PhpStorm has a feature that allows uploading files as soon as they change to a server (via FTP or SSH).
I don't have a lot of experience with this feature but it does seem to work well. PhpStorm can also be configured to deploy changes that occurred outside (it seems to do so as soon as it regains focus). It also seems to properly delete files that have been deleted from the project, so it's a real sync, not just "upload".
See how to configure it under "To have PhpStorm upload changed files automatically" here: http://www.jetbrains.com/phpstorm/webhelp/uploading-and-downloading-files.html
Upvotes: 3
Reputation: 6013
You have several options, depending on your system.
rsync
or scp
up your files when you want to publish.cvs
, svn
, git
, mercurial
, ...) and via ssh perform an "update" when you wish your code to go live. sshfs
filesystem locally.Upvotes: 12