AppHarbor如何运作?有没有开源的实现?
AppHarbor 非常简洁,但与 Heroku 不同,我不知道它是如何工作的。有没有开源的实现?从我的搜索中我找不到任何东西。
到目前为止,我的粗略实现是设置一个 git 服务器,并在每个新的存储库上启动一个 IIS 实例。这种方法可行,但我无法弄清楚如何将“附加组件”配置到特定实例。
我想,为了缩小我的问题范围,我正在寻找是否有适用于 Windows 的“基于 git 的部署”的开源实现,或者如何最好地实现这一点的一般架构概述。
AppHarbor is pretty neat, but unlike Heroku, I can't figure out how it works. Are there any open source implementations? From my searching I could not find any.
My crude implementations so far have been setting up a git server and on each new repo, spin up an instance of IIS. This sort of works, but I can't figure out how "add-ons" get configured to a paticular instance.
I guess, to narrow my question down, is I'm looking if there are any open source implementations of "git based deployment" for Windows, or a general architectural overview of how this would best best accomplished.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
(免责声明,我是 AppHarbor 联合创始人之一)
我们概述了 AppHarbor 的工作原理< /a>.我们的博客上还有一篇AppHarbor 的工作原理帖子。
就附加组件而言,配置工作与 Heroku 上完全相同,我建议您查看他们的 插件提供商文档。当开发人员从插件提供程序提供资源时,我们从提供程序获取必要的资源信息并将其插入到应用程序的 web.config 中。
我还没有看到 AppHarbor 的任何完整开源实现,但 Paul Stovell 正在开发名为 Octopus Deploy 的东西 (尽管我不认为它会开源)。您还可以查看这篇关于 使用 TeamCity 模仿 AppHarbor 的文章。
我认为你应该在 AppHarbor 上运行你的应用程序。这样,您就不必维护自己的硬件,可以非常快速地扩展到大量负载,您可以访问丰富的内容强大的插件生态系统,我们承诺始终提供基本的免费使用层来帮助您入门。
(disclaimer, I'm one of the AppHarbor co-founders)
We have an overview of How AppHarbor Works. There's also a how AppHarbor works post on our blog.
In terms of add-ons, provisioning works exactly as on Heroku and I can recommend taking a look at their addon provider documentation. When a developer provisions a resource from an addon-provider, we get the necessary resource information from the provider and insert it into the web.config of the application.
I haven't seen any full open source implementations of AppHarbor out there, but Paul Stovell is working on something called Octopus Deploy (although I don't think it will be open source). You can also take a look at this post on mimicking AppHarbor with TeamCity.
I think you should run your application on AppHarbor though. That way, you don't have to maintain your own hardware, you can scale to massive loads very quickly, you get access to a rich ecosystem of powerful addons and we pledge to always offer a basic free usage tier to get you started.