使用 Eclipse PHP 进行部署
我有一个带有 MySQL 数据库的小型 PHP 项目,我一直在记事本上编程并使用 FTP 直接上传到我的远程服务器。
现在我已经安装了ECLIPSE PHP,我想知道是否有办法在远程服务器上同步或部署我的本地项目(无需使用FTP手动复制/粘贴),并将其连接到远程MySQL进行测试。我找不到该选项。
多谢
I have a small PHP project with a MySQL database, that I have been programming on notepad and uploading directly to my remote server using FTP.
Now I have installed ECLIPSE PHP and I would like to know if is there a way to sycronize or deploy my local project on the remote server (without manual copy/paste using FTP), and connect it to the remote MySQL to test it. I cannot find the option.
Thanks a lot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为 Eclipse 中默认没有此选项,但您可以使用插件。
从 Eclipse MarketPlace(因为他们也有一个 appstore :D),我发现 projx-transfer 似乎最适合您。
I don't think this option is in Eclipse by default but you can use a plugin.
From the Eclipse MarketPlace (because they do have an appstore too :D), I found projx-transfer that seems to be perfect for you.
那么,
当你这样做时,为什么不正确地做呢? ;) Eclipse 有大量插件,例如您可以使用 SVN ( http://www.eclipse. org/subversive/ )用于发布和版本控制或 GIT ( http://www.eclipse.org /egit/ )。
如果一切都与速度有关(并且您在 Linux 下工作,我希望您这样做)为什么不直接通过 SSHFS 工作( http://en.wikipedia.org/wiki/SSHFS)
只是一些想法。
Well,
when you do it, why not do it right? ;) There are a ton of Plugins for Eclipse, for example you could use SVN ( http://www.eclipse.org/subversive/ ) for releasing and Version controlling or GIT ( http://www.eclipse.org/egit/ ).
If its all about speed (and you work under linux, which I hope you do) why not work directly via SSHFS ( http://en.wikipedia.org/wiki/SSHFS )
Just some thoughts.