github php项目部署
我有一个项目,其代码位于 github (一个私人存储库)中,我正在寻找一种部署此项目的好方法。
我知道 capistrano,但不确定是否有更好的解决方案,想检查其他意见:)
非常感谢任何帮助
I have a project which has the codes in github (a private repo), I am looking for a good way to deployments for this.
I know capistrano, but not sure whether there are any better solutions, wanting to check other opinions :)
any help is highly appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
作为 PHP 开发人员,您可能需要查看 Phing。它可以进行 git checkout 并使用 SSH 进行部署等等。与 Capistrano 相比的一大优势是它是用 PHP 构建的,并且对您和您的团队来说可能更容易。
As a PHP developer you may want to look at Phing. It can do a git checkout and deploy using SSH and much more. The big advantage over Capistrano is that it is built with PHP, and may be easier for you and your team.
我想尝试一下 Dandelion: https://github.com/scttnlsn/dandelion
Dandelion 允许你推送任何新的 git 更改都会更改为 SFTP 或 FTP 主机。假设您除了传输源文件之外实际上不需要执行任何“部署”操作,那么它比使用 Capistrano 更简单。你将需要红宝石。
I would give Dandelion a shot: https://github.com/scttnlsn/dandelion
Dandelion allows you to push any new git changes to an SFTP or FTP host. Assuming you don't actually need to perform any "deploy" actions other than transferring the source files, it is simpler than using Capistrano. You will need Ruby.