Php framework yii2 is about five developers who want to perform code version management to facilitate submission and maintenance. But I don't know how to solve it. If there is a good solution, I hope to have detailed steps, for example, whether it is online or local area network, svn or git, and how the server is going to be like but not limited to this, I hope to get help with the php framework yii2, about five developers, and want to manage the code version, it is easy to submit and maintain, but I do not know how to complete it. If there is a good solution, I hope to have detailed steps, such as online or local area network, svn or git, and what the server should do, similar but not limited to this, hope to get help
Reply content:
Php framework yii2 is about five developers who want to perform code version management to facilitate submission and maintenance. But I don't know how to solve it. If there is a good solution, I hope to have detailed steps, for example, whether it is online or local area network, svn or git, and what the server is like, but not limited to, hope to get help
There are two solutions:
1. Build services by yourself
You can choose to use gogs or gitlab functions, or choose commercial Bitbucket 10 users to buy an authorization for $10
2. Use the git Service
Such as github and gitcafe in China
I am here at user gitlab. Currently, tens of thousands of users and warehouses are very stable to use.
1. Which version management tool git or svn is selected?
I personally think that, although your team is relatively small, svn may be enough, git is recommended for split of walls. The reason is simple: the trend. This is also a trend.
By default, you have selected git.
2. Select an existing git version server or build a git server by yourself.
If you select an existing product, github can (only private warehouses are charged) and some companies that have been used are paid for github, in addition, we recommend bitbucket (a free repository can be created for a team of five people ).
If you are still worried about code security and need to build your own server, there are too many methods on the Internet.
You can use gogs to configure LAN or Internet access for convenient deployment. This is what our company uses now.
If you do not have to deploy your own servers, I believe you can choose coding.net for code hosting. Projects that are not very large are completely free of charge. Based on the comments in the comment area @ liu_jing, of course you can choose other code hosting vendors, such as GitHub (mainly because of charges, if acceptable)
If you need to deploy your own Git, you can choose gogs. It is an open-source software written in the go language and is worth your efforts.
My personal recommendation is the first type. Now I host more than 20 team projects on him.
Http://git.oschina.net/This is not advertising stickers, at least in China or more actively improve the git system, is still stable, definitely not for commercial purposes, but if it is a commercial project, other tools with permission control need to be considered.
Use git for distributed and convenient code management
I think it is better to put my project code on my lan. I have to find a machine in the company to build a gitlab.
I wrote an article in my blog: Using GitLab to build my own private GitHub
I am using open source China. I think it's okay. Private Projects are free of charge.
For small projects, the online environment is better and the staff flow is more flexible. For code security, you can control it yourself.
In fact, I think Coding is good!
Domestic servers are fast. You don't need to build it on your own. It seems that you can also directly deploy the demo. Although I have never used it ..