[英]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.