简体   繁体   English

使我的开发机器成为Team Foundation Server

[英]Make my dev machine Team Foundation Server

I am using TFS in my company. 我在公司使用TFS。 I want to use my personal computer to work as Team Foundation Server. 我想使用我的个人计算机作为Team Foundation Server。 I am using VS2012 Web Express. 我正在使用VS2012 Web Express。 Can I do this? 我可以这样做吗?

The question is not "Can I do this?" 问题不是“我可以这样做吗?” . Of course you can, as it's just a couple of Windows Services and a SQL Server installation to store the data. 当然可以,因为它只是几个Windows服务和一个SQL Server安装来存储数据。 You can install both on any supported OS. 您可以在任何受支持的OS上安装两者。

The question is "Do I want to?" 问题是“我要吗?” , and the answer to that is "No" . ,答案是“否”

You don't want to host your centralized version control server on a workstation. 您不想在工作站上托管集中式版本控制服务器。 Think about hardware support, uptimes, monitoring, backups and so on. 考虑一下硬件支持,正常运行时间,监视,备份等。

If you mean you want to use TFS at home, where you have only one machine, then you can just install TFS Express and SQL Express. 如果您想在只有一台计算机的家庭中使用TFS,则只需安装TFS Express和SQL Express。 Aforementioned issues are then still valid. 上述问题仍然有效。 One power surge that kills your hard drive and all your code is gone. 一次电涌会杀死您的硬盘驱动器,所有代码都消失了。 You can also look into hosted TFS, for example through Visual Studio Online . 您还可以例如通过Visual Studio Online查看托管的TFS。

Team Foundation Server is a server-class product which should run on a proper server environment, looking at both hardware and software aspects. Team Foundation Server是一种服务器级产品 ,应在硬件和软件方面都可以在适当的服务器环境上运行。

It can stand as the focal point of your software development lifecycle (requirements, code, builds, bugs, releases) and you probably don't want it to run on a workstation that is naturally more prone to crashes and security threats, and a with lower fault tolerance. 它可以作为软件开发生命周期(需求,代码,构建,错误,发行版)的重点,并且您可能不希望它在自然更容易崩溃和安全威胁的工作站上运行,并且较低的容错能力。 Moreover, if running on your personal computer, it's also likely to have terrible performances, for example from a version control and build points of view (long build queues, etc.). 此外,如果在您的个人计算机上运行,​​它的性能也很糟糕,例如,从版本控制和构建角度(较长的构建队列等)来看。

You didn't specify the size of your company, but even if it was made of a few people, all needing access to TFS, I would dedicate a separate server machine for that (physical or at least virtual). 您没有指定公司的规模,但是即使它是由几个人组成的,所有人都需要访问TFS,我会为此专门设置一台单独的服务器计算机 (物理的或至少是虚拟的)。 Another option, as suggested in another answer, would be to try Visual Studio Online and see if it fits your needs. 如另一个答案中所建议,另一个选择是尝试Visual Studio Online并查看它是否满足您的需求。

So, the short answer is "You can" , but in my opinion "You shouldn't" because of the aforementioned reasons. 因此,简短的答案是“您可以” ,但由于上述原因,我认为“您不应该”

Yes. 是。 Just install TFS and you're set 只需安装TFS,就可以设置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM