Install and use the source code management tool tfs2013

Source: Internet
Author: User

Recently, the company has developed a new project to use Microsoft's tfs2013 to manage the source code of the Project. Previously, it only used SVN and never used TFs, so I spent some time on Baidu and Google on the Internet to check how to install and configure it. Fortunately, it took me a day to get it done. The following describes the installation and configuration process.

1. Introduction to installation and configuration

To install tfs2013 of course to download first, you can download at the address below: http://www.microsoft.com/zh-cn/download/details.aspx? Id = 43728; the file has 2.5 GB

After the download is complete, double-click the vs2013.3 _ tfs_chs.iso file to install it. Note that to install TFs of this version, you must first Install SQL Server 2012 SP1. The installation interface is shown in:

Select "I accept the License Terms of the team Foundation server" and click "Install now". The following page is displayed:

The installation progress bar appears. Wait until the installation is complete... After the installation is complete, the page of the team Foundation server configuration center is displayed. When you run the configuration center for the first time, you are prompted to enter the product key, as shown in:

For product keys, haha .. You can visit the bbs.fangsi.net forum where you will find what you want .. After you enter the product key, the following page is displayed:

Select --- basic options for configuration, and then click Start Wizard to start the basic Configuration Wizard, as shown in:

Click Next and select an existing sqlserver instance, for example:

Click Next. The sqlserver server name is displayed. If it is a local machine, the. Or localhost cannot be used to represent the local instance. Generally, the full name of the computer is used. For example:

After the test is passed, click Next to run the Environment check. After the check is passed, the following interface is displayed:

 

Click the configuration button to start automatic configuration, for example:

After about five minutes, the configuration is successful. If the page appears, the installation is successful. Haha...

The above is the installation and configuration process of tfs2013. The following describes how to use tfs2013 for source code management and team development.

 

2. Use TFs for team development and source code management

Enter http: // localhost: 8080/TFS in the browser:

If the browser can access the service normally, the configuration process is normal.

There are four options: function, understanding, Visual Studio, and management. Click Manage. On the displayed page, click the access level tab, for example:

We can see on the left that there are three access levels: Limited, standard, and complete. We set "completely" to the default access level.

After the settings are complete, open vs2013, click Select Team Project in the team resource manager, and punch in the following interface:

Select a team server and a default team project set will appear. Select the default team project set and click the connection button, for example:

 

After you click the connection button, because it is the first time you use the team resource manager of vs2013, you will be prompted to map a local workspace, that is, the place where our code and documents are to be saved. Click Configure workspace, for example:

 

 

Click ing and get. A message is displayed, indicating that the workspace has been successfully mapped. Return to the home page of vs2013 team resource manager, click Create Team Project, enter a Team Project Name and description, and then click Next, for example:

 

On the page that appears, we will be prompted to select a Process Template. Here I select the second agile development template, for example:

 

Click Next. On the displayed page, select team Foundation version control, for example:

Then, click "finish" to display the following page for creating a team project:

Wait for a few minutes. The result indicates that the Team Project is successfully created:

Then, click the close button. In the team resource manager of vs2013, on the home page of the Team Project, click Create in the solution tree list below. For example:

 

After clicking the create button, we can create a standard vs project. I have selected an ASP. NET web application, such:

 

 

In the newly created Project, in Solution Explorer, we will find the plus sign (+) in front of the code file. We can check in a project and select a solution, right-click and select Check in, such:

 

After you click the check in button, a lock pattern will appear in front of the code file. Indicates that the server has been checked in.

How can other team members connect to and obtain projects after code files and projects are checked in to the server?

First, we need to create a Windows user, click -- "This computer --" right-click -- "and choose" manage ". The computer management interface is displayed, and then select" Local User "and" group, create a user, for example:

 

 

After creating a Windows user, the next step is to add the user to the project member of the TFS team. On the home page of resource manager of vs2013 team, click the web portal, for example:

After you click the web portal, the TFS management interface is displayed in the browser, for example:

There is a member management function on the right side. We click the manage button to display:

 

Click the Add button to add the new Windows user to the project member of the team, for example:

 

In this way, our test users can use vs2013 to connect to our TFs server and obtain the team project code.

Iii. Final

Here, I just briefly demonstrated the installation and configuration process of TFS. tfs2013 is very powerful and can manage project plans, bugs, and tests, I will explore these advanced features later. TFs also has a team chat room function, which I personally think is amazing. Attached to a team chat room:

 

Install and use the source code management tool tfs2013

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.