-
Notifications
You must be signed in to change notification settings - Fork 362
Translate 04-git-server gitweb #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
注意一个问题,提交的 Pull Request 右上角显示的增加删除行数应是一致的。 |
Some Linux distributions have a `gitweb` package that you may be able to install via `apt` or `yum`, so you may want to try that first. | ||
We'll walk though installing GitWeb manually very quickly. | ||
First, you need to get the Git source code, which GitWeb comes with, and generate the custom CGI script: | ||
如果你现在想为你的团队或你托管的开源项目持续的运行这个页面,你需要通过普通的网络服务器来架设 CGI 脚本。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
架设 CGI 脚本。
设置 CGI 脚本。
@sanddudu 已审校。 |
已修改 |
@@ -1,17 +1,17 @@ | |||
=== GitWeb | |||
|
|||
(((serving repositories, GitWeb)))(((GitWeb))) | |||
Now that you have basic read/write and read-only access to your project, you may want to set up a simple web-based visualizer. | |||
Git comes with a CGI script called GitWeb that is sometimes used for this. | |||
如果你对项目有读写权限或只读权限,你可能需要建立起一个简易的基于网页的查看器。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
简易的基于网页的查看器=》基于网页的简易查看器
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果
不准确吧? Now that
是 既然
的意思,或者翻译成 现在
之前很多人都是这么翻译的。我个人比较倾向与 既然
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@archersmind 如果用既然,这个句子就读不通了
@sanddudu 已完成 |
If you're running a Mac, Leopard comes preinstalled with Ruby, so `webrick` may be your best bet. | ||
To start `instaweb` with a non-lighttpd handler, you can run it with the `--httpd` option.(((git commands, instaweb))) | ||
如果你想要查看 GitWeb 如何展示你的项目,并且在服务器上安装了轻量级网络服务器比如 `lighttpd` 或 `webrick`, Git 提供了一个命令来让你启动一个临时的服务器。 | ||
在 Linux 系统的电脑上, `lighttpd` 通常已经安装了,所以你只需要在项目目录里执行 `git instaweb` 命令即可。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
系统的电脑上,
lighttpd
通常已
lighttpd
前面是不是多了一个空格? 标点符号后面接英文的话应该不需要空格吧?
下面摘之Translation note
如果英文前、后是标点,则不需再添加空格
Again, GitWeb can be served with any CGI or Perl capable web server; if you prefer to use something else, it shouldn't be difficult to set up. | ||
At this point, you should be able to visit `http://gitserver/` to view your repositories online. | ||
再次提醒,GitWeb 可以通过任何一个支持 CGI 或 Perl 的网络服务器架设;如果你需要的话,架设起来应该不会很困难。 | ||
现在,你可以访问 `http://gitserver/` 来在线查看你的版本库。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议:
去掉来
字
现在,你可以访问 http://gitserver/
在线查看你的版本库。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sanddudu 请尽快修正本节。 |
已修正 |
@sanddudu 请在有异议的评论上留言,解释一下原因。 |
@sanddudu 解释完之后请 @ 我,然后合并入主干。 |
@sanddudu 已合并入主干。 |
No description provided.