简体   繁体   English

如何在家里有2个开发人员的小型网站上使用SVN作为版本控制?

[英]How can I use SVN as version control for developing small website with 2 developers at home?

I am going to develop a small website with my 2 more friends. 我将与另外2个朋友一起开发一个小型网站。 We all 3 will work on this project simultaneously. 我们3个人将同时从事此项目。 So it will be a problem to merge everyone's code manually. 因此,手动合并每个人的代码将是一个问题。 I am thinking that SVN could solve our problem. 我认为SVN可以解决我们的问题。 But I don't know how can I utilize it for personal use. 但是我不知道如何将其用于个人用途。 Do I need to install it on a public server? 我需要在公共服务器上安装它吗? Or where do I need to put it so that we all be able to share our code. 或者我需要在哪里放置它,以便我们所有人都可以共享我们的代码。

Thanks 谢谢

You can alternatively use a free code hosting website like Bitbucket . 您也可以使用免费的代码托管网站,例如Bitbucket There you can host your code and every teammember can access the code. 您可以在此处托管代码,每个团队成员都可以访问该代码。
You can access your code via Git or Mercurial. 您可以通过Git或Mercurial访问代码。 So you can avoid installing a seperate server. 因此,您可以避免安装单独的服务器。

1.Download and install VisualSVN SVN server. 1.下载并安装VisualSVN SVN服务器。

2.Install it in your local machine(any machine) 2.将其安装在本地计算机(任何计算机)上

2.1 Default Repository location will be the installed directory, you can change it from properties. 2.1默认存储库位置将是安装目录,您可以从属性中更改它。

3.Create Repository and add users. 3.创建存储库并添加用户。

4.Download and Install TortoiseSVN the client for all machine where you will commit / use it can be the same machine. 4.下载并安装TortoiseSVN的所有计算机客户端将在同一计算机上提交/使用。

5.Import any code or files to the repository. 5.将任何代码或文件导入到存储库。

6.Checkout and then use. 6.结帐后再使用。

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

相关问题 如果要将流星应用程序部署为node.js,如何使用svn进行版本控制? - How can I use svn for version control if I'm going to deploy my meteor app as node.js? 我可以使用一个服务器来存储/管理SVN / Git / Hg / etc的版本控制吗? - Is there a single server I can use to store/manage version control for SVN/Git/Hg/etc? 如何使用通配符或正则表达式来控制SVN的基于路径的授权/访问控制? - How can I use wildcards or regular expressions to control Path-based authorization / access control for svn? 如何以更强大的方式使用版本控制? - How can I use version control in a more powerful way? 如何才能为某些使用SVN的开发人员显示某些文件夹 - How can I make only some folders show up for certain developers with SVN 在为Windows和Linux / Unix开发Web应用程序时,如何正确使用SVN? - How can you properly use SVN when developing a webapplication for Windows and Linux/Unix? 如何在PhpDoc docblock中使用NetBeans和SVN @version标记? - How do I use NetBeans and SVN @version tag in the PhpDoc docblock? 如何对SVN信息库子文件夹进行版本控制? - How to do version control for a SVN repository subfolder? 如何在版本控制下svn添加文件? - how to svn add files under version control? SVN - 如何从版本控制中取出文件 - SVN - how to take a file off the version control
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM