在Azure上将git repo部署到Windows VM

时间:2017-12-17 20:47:44

标签: git azure azure-virtual-machine repo

我在Azure上的Windows虚拟机上通过IISNode运行Node.js来处理矢量绘图文件。

对于IIS和Windows服务器(这个项目需要Windows),我是个新手。

对我来说,能够在服务器上部署Git仓库的最佳方式是什么? (推送到服务器上的远程仓库)我应该在VM上运行SSH服务器吗?也许Azure已经有了现成的解决方案吗?

感谢。

1 个答案:

答案 0 :(得分:1)

According to my knowledge, there are so many ways to deploy a git server on Azure. However, for your scenario, you need to use Windows for your deploying. This should be same as deploy git server on a local windows machine. I suggest you could consider following solutions:

  1. Build you Git server step by step by referring this blog.

  2. Using Bonobo Git Server to set up your own self hosted git server on IIS for Windows directly.

I don't which one is the best practice for you. It depends on your requirement.

Additional, don't forget open specific ports on the NSG.

Hope this helps!