Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
update documents & happy new year
Browse files Browse the repository at this point in the history
  • Loading branch information
Aimeast committed Dec 31, 2015
1 parent b0f2aa7 commit e3f97e0
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 20 deletions.
8 changes: 4 additions & 4 deletions GitCandy/App_GlobalResources/SR.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions GitCandy/App_GlobalResources/SR.fr.resx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
<value>{0} utilisateur (s) trouvé(s)</value>
</data>
<data name="Home_AboutDescription" xml:space="preserve">
<value>Git Candy© est une plate-forme [Git](http://git-scm.com/documentation) de contrôle de version distribué, basé sur une application ASP.NET MVC, qui prend en charge les dépôts publics et privés. Vous pouvez créer et collaborer votre dépôt avec votre équipe n'importe quand n'importe où sans aucune limite.
<value>GitCandy© est une plate-forme [Git](http://git-scm.com/documentation) de contrôle de version distribué, basé sur une application ASP.NET MVC, qui prend en charge les dépôts publics et privés. Vous pouvez créer et collaborer votre dépôt avec votre équipe n'importe quand n'importe où sans aucune limite.

Visitez une démo sur [http://gitcandy.com]()

Expand Down Expand Up @@ -524,7 +524,7 @@ Get source and fork me on [http://github.com/Aimeast/GitCandy]()
<value>Ajouter</value>
</data>
<data name="Shared_AppTitle" xml:space="preserve">
<value>Git Candy</value>
<value>GitCandy</value>
</data>
<data name="Shared_Back" xml:space="preserve">
<value>Retour</value>
Expand Down Expand Up @@ -587,7 +587,7 @@ Get source and fork me on [http://github.com/Aimeast/GitCandy]()
<value>Équipes</value>
</data>
<data name="Shared_TitleFormat" xml:space="preserve">
<value>{0} - Git Candy</value>
<value>{0} - GitCandy</value>
</data>
<data name="Shared_Users" xml:space="preserve">
<value>Utilisateurs</value>
Expand Down
6 changes: 3 additions & 3 deletions GitCandy/App_GlobalResources/SR.resx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
<value>SSH</value>
</data>
<data name="Home_AboutDescription" xml:space="preserve">
<value>Git Candy&amp;copy; is a [Git](http://git-scm.com/documentation) distributed version control platform based on ASP.NET MVC application, which supports public and private repositories. You can create and collaborate your repository with your team anytime anywhere without any limit.
<value>GitCandy&amp;copy; is a [Git](http://git-scm.com/documentation) distributed version control platform based on ASP.NET MVC application, which supports public and private repositories. You can create and collaborate your repository with your team anytime anywhere without any limit.

Visit a demo on [http://gitcandy.com]()

Expand Down Expand Up @@ -563,7 +563,7 @@ Get source and fork me on [http://github.com/Aimeast/GitCandy]()
<value>Add</value>
</data>
<data name="Shared_AppTitle" xml:space="preserve">
<value>Git Candy</value>
<value>GitCandy</value>
</data>
<data name="Shared_Back" xml:space="preserve">
<value>Back</value>
Expand Down Expand Up @@ -629,7 +629,7 @@ Get source and fork me on [http://github.com/Aimeast/GitCandy]()
<value>Teams</value>
</data>
<data name="Shared_TitleFormat" xml:space="preserve">
<value>{0} - Git Candy</value>
<value>{0} - GitCandy</value>
</data>
<data name="Shared_Users" xml:space="preserve">
<value>Users</value>
Expand Down
6 changes: 3 additions & 3 deletions GitCandy/App_GlobalResources/SR.zh-Hans.resx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
<value>SSH</value>
</data>
<data name="Home_AboutDescription" xml:space="preserve">
<value>Git Candy&amp;copy; 是一个基于ASP.NET MVC的[Git](http://git-scm.com/documentation)分布式版本控制平台,支持公共和私有代码库。可以不受限制的创建代码库,与你的团队一块协作。
<value>GitCandy&amp;copy; 是一个基于ASP.NET MVC的[Git](http://git-scm.com/documentation)分布式版本控制平台,支持公共和私有代码库。可以不受限制的创建代码库,与你的团队一块协作。

演示地址:[http://gitcandy.com]()

Expand Down Expand Up @@ -563,7 +563,7 @@
<value>添加</value>
</data>
<data name="Shared_AppTitle" xml:space="preserve">
<value>Git Candy</value>
<value>GitCandy</value>
</data>
<data name="Shared_Back" xml:space="preserve">
<value>返回</value>
Expand Down Expand Up @@ -629,7 +629,7 @@
<value>团队</value>
</data>
<data name="Shared_TitleFormat" xml:space="preserve">
<value>{0} - Git Candy</value>
<value>{0} - GitCandy</value>
</data>
<data name="Shared_Users" xml:space="preserve">
<value>用户</value>
Expand Down
2 changes: 1 addition & 1 deletion GitCandy/Filters/SmartGitAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected override void HandleUnauthorizedRequest(AuthorizationContext filterCon
if (controller == null || controller.Token == null)
{
filterContext.HttpContext.Response.Clear();
filterContext.HttpContext.Response.AddHeader("WWW-Authenticate", "Basic realm=\"Git Candy\"");
filterContext.HttpContext.Response.AddHeader("WWW-Authenticate", "Basic realm=\"GitCandy\"");
filterContext.Result = new HttpUnauthorizedResult();
}
else
Expand Down
2 changes: 1 addition & 1 deletion GitCandy/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyDescription("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("GitCandy")]
[assembly: AssemblyCopyright("Copyright © 2013-2014")]
[assembly: AssemblyCopyright("Copyright © 2013-2016")]

#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013-2014 Aimeast
Copyright (c) 2013-2016 Aimeast

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Git Candy
Git Candy© is a [Git](http://git-scm.com/documentation) distributed version control platform based on ASP.NET MVC application, which supports public and private repositories. You can create and collaborate your repository with your team anytime anywhere without any limit.
## GitCandy
GitCandy© is a [Git](http://git-scm.com/documentation) distributed version control platform based on ASP.NET MVC application, which supports public and private repositories. You can create and collaborate your repository with your team anytime anywhere without any limit.

Visit a demo on [http://gitcandy.com](http://gitcandy.com).

Expand All @@ -10,7 +10,7 @@ Get source and fork me on [http://github.com/Aimeast/GitCandy](http://github.com
* [IIS 7.0](http://www.iis.net/learn)
* [.NET Framework 4.5](http://www.microsoft.com/en-us/download/details.aspx?id=30653)
* [ASP.NET MVC 5](http://www.asp.net/mvc/tutorials/mvc-5)
* [Git Bash](http://git-scm.com/downloads)
* [Git](http://git-for-windows.github.io/)
* [Sqlite](http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki) or [Sql Server](http://www.microsoft.com/en-us/sqlserver/get-sql-server/try-it.aspx)

---
Expand All @@ -22,9 +22,13 @@ Get source and fork me on [http://github.com/Aimeast/GitCandy](http://github.com
* Update connection string in `Web.config` file
* Prepare two folders for storage `Repositories` and `Cache`
* Navigate to your site and login with default username `admin`, password `gitcandy`
* Go to `Settings` page for set folders path of `Repositories`, `Cache` and `git.exe`
* Go to `Settings` page for set folders path of `Repositories`, `Cache` and `git-core`
* You are recommended to set `<compilation debug="false" />` in `Web.config`

##### *note*
* The `Repositories` or `Cache` path looks like `x:\Repos` or `x:\Cache`
* The `git-core` path looks like `x:\PortableGit\libexec\git-core` or `x:\PortableGit\mingw64\libexec\git-core`

---
### Thanks for (alphabet)
* [ASP.NET MVC](http://aspnetwebstack.codeplex.com/) @ [Apache License 2.0](http://aspnetwebstack.codeplex.com/license)
Expand Down
49 changes: 49 additions & 0 deletions README.zh-cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## GitCandy
GitCandy© 是一个基于 ASP.NET MVC 的 [Git](http://git-scm.com/documentation) 版本控制服务端,支持公有和私有代码库,可不受限制的创建代码代码库,随时随地的与团队进行协作。

演示网站:[http://gitcandy.com](http://gitcandy.com)

源代码: [http://github.com/Aimeast/GitCandy](http://github.com/Aimeast/GitCandy)

---
### 系统要求
* [IIS 7.0](http://www.iis.net/learn)
* [.NET Framework 4.5](http://www.microsoft.com/en-us/download/details.aspx?id=30653)
* [ASP.NET MVC 5](http://www.asp.net/mvc/tutorials/mvc-5)
* [Git](http://git-for-windows.github.io/)
* [Sqlite](http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki)[Sql Server](http://www.microsoft.com/en-us/sqlserver/get-sql-server/try-it.aspx)

---
### 安装
* 下载最新[发布](http://github.com/Aimeast/GitCandy/releases)的版本或自己编译最新的[dev](http://github.com/Aimeast/GitCandy/dev)分支源码
* 在IIS创建一个站点,并把二进制文件和资源文件复制到站点目录
* 如果用了 Visual Studio 的发布功能,还要复制`GitCandy\bin\[NativeBinaries & x86 & x64]`文件夹到站点目录
*`/Sql/Create.[Sqlite | MsSql].sql`脚本创建一个数据库。如果创建的是Sqlite数据库,还需把数据库文件复制到`App_Data`文件夹
* 更新`Web.config`文件的数据库连接串
* 准备两个文件夹分别用来存储`代码库``缓存`
* 打开新建的站点,默认登录用户名是`admin`,密码是`gitcandy`
* 转到`设置`页面,分别设置`代码库``缓存``git-core`的路径
* 推荐在`Web.config`设置`<compilation debug="false" />`

##### **
* `代码库``缓存`路径示例:`x:\Repos``x:\Cache`
* `git-core`路径示例:`x:\PortableGit\libexec\git-core``x:\PortableGit\mingw64\libexec\git-core`

---
### 鸣谢 (按字母序)
* [ASP.NET MVC](http://aspnetwebstack.codeplex.com/) @ [Apache License 2.0](http://aspnetwebstack.codeplex.com/license)
* [Bootstrap](http://github.com/twbs/bootstrap) @ [MIT License](http://github.com/twbs/bootstrap/blob/master/LICENSE)
* [Bootstrap-switch](http://github.com/nostalgiaz/bootstrap-switch) @ [Apache License 2.0](http://github.com/nostalgiaz/bootstrap-switch/blob/master/LICENSE)
* [EntityFramework](http://entityframework.codeplex.com/) @ [Apache License 2.0](http://entityframework.codeplex.com/license)
* [Highlight.js](http://github.com/isagalaev/highlight.js) @ [New BSD License](http://github.com/isagalaev/highlight.js/blob/master/LICENSE)
* [jQuery](http://github.com/jquery/jquery) @ [MIT License](http://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt)
* [LibGit2Sharp](http://github.com/libgit2/libgit2sharp) @ [MIT License](http://github.com/libgit2/libgit2sharp/blob/master/LICENSE.md)
* [marked](http://github.com/chjj/marked) @ [MIT License](http://github.com/chjj/marked/blob/master/LICENSE)
* [Microsoft.Composition (MEF2)](http://mef.codeplex.com/) @ [Microsoft Public License](http://mef.codeplex.com/license)
* [Newtonsoft.Json](http://json.codeplex.com/) @ [MIT License](http://json.codeplex.com/license)
* [SharpZipLib](http://github.com/icsharpcode/SharpZipLib) @ [GPL License v2](http://github.com/icsharpcode/SharpZipLib/blob/master/doc/COPYING.txt)
* [ZeroClipboard](http://github.com/zeroclipboard/zeroclipboard) @ [MIT License](http://github.com/zeroclipboard/zeroclipboard/blob/master/LICENSE)

---
### 协议
MIT 协议

0 comments on commit e3f97e0

Please sign in to comment.