Gitea v1.21.1 中文文档录 ${GOPATH//://bin:}/bin 添加到 $PATH 中。请参阅 Go 百科上关于 GOPATH 的词条。 接下来,安装 Node.js 和 npm, 这是构建 JavaScript 和 CSS 文件所需的。最低支持的 Node.js 版本是 16,建议使用最新的 LTS 版本。 注意:当执行需要外部工具的 make 任务(如 make misspell-check )时,Gitea 或更高版本。不过,建议获取与我们的持续集成(continuous integration, CI)相同的版本,请参阅在 Hacking on Gitea 中给出的建议。 首先,我们需要获取源码。由于引入了 Go 模块,最简单的方法是直接使用 Git,因为我们不再需要在 GOPATH 内 构建 Gitea。 1. git clone https://github.com/go-gitea/gitea (之前的版本中建议使用 构建 使用源代码安装 - 26 - 本文档使用 书栈网 · BookStack.CN 构建 要从源代码进行构建,系统必须预先安装以下程序: go 1.20 或更高版本,请参阅 这里 node 16 或更高版本,并且安装 npm , 请参阅 这里 make , 请参阅 这里 为了尽可能简化编译过程,提供了各种 make任务。 根据你的构建需求,以下 tags 可以使用:0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66通过路径来重置 压缩 检出 总结 高级合并 合并冲突 撤消合并 其他类型的合并 Rerere 使用 Git 调试 文件标注 二分查找 子模块 开始使用子模块 克隆含有子模块的项目 在包含子模块的项目上工作 子模块的技巧 子模块的问题 打包 替换 凭证存储 底层实现 自定义凭证缓存 总结 自定义 Git 配置 Git 客户端基本配置 Git 中的着色 外部的合并与比较工具 @Geno1024 @jeffsui 7.9 Rerere @networm @Geno1024 @IceNature @jeffsui 7.10 使用 Git 调试 @leo108 王波 7.11 子模块 @networm @IceNature @Geno1024 @OlingCat 7.12 打包 @networm @xff2016 @Geno1024 @IceNature 7.13 替换 @Gnahceg install apache2 apache2-utils $ a2enmod cgi alias env 该操作将会启用 mod_cgi, mod_alias 和 mod_env 等 Apache 模块, 这些模块 都是使该功能正常工作所必须的。 你还需要将 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才 能读写该仓库, 因为运行 CGI 脚本的 Apache0 码力 | 670 页 | 13.59 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 子模块 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @Geno1024 @jeffsui 7.9 Rerere @networm @Geno1024 @IceNature @jeffsui 7.10 使用 Git 调试 @leo108 王波 7.11 子模块 @networm @IceNature @Geno1024 @OlingCat 7.12 打包 @networm @xff2016 @Geno1024 @IceNature 7.13 替换 @Gnahceg install apache2 apache2-utils $ a2enmod cgi alias env 该操作将会启用 mod_cgi, mod_alias 和 mod_env 等 Apache 模块, 这些模块都是使该功能正常工作所必须 的。 你还需要将 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才能读写该仓库, 因为运行 CGI 脚 本的 Apache 实例默认会以该用户的权限运行:0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 2nd Edition 2.1.413centralized systems, every developer is a node working more or less equally with a central hub. In Git, however, every developer is potentially both a node and a hub; that is, every developer can both https://schacon-test.googlecode.com/svn Repository UUID: 4c93b258-373f-11de-be05-5f7a86268029 Revision: 87 ▪ Node Kind: directory Schedule: normal Last Changed Author: schacon Last Changed Rev: 87 Last Changed Date: bindings packages as of this writing; libraries exist for many other languages, including C++, Go, Node.js, Erlang, and the JVM, all in various stages of maturity. The official collection of bindings can0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413centralized systems, every developer is a node working more or less equally with a central hub. In Git, however, every developer is potentially both a node and a hub; that is, every developer can both https://schacon-test.googlecode.com/svn Repository UUID: 4c93b258-373f-11de-be05-5f7a86268029 Revision: 87 Node Kind: directory Schedule: normal Last Changed Author: schacon Last Changed Rev: 87 Last Changed Date: bindings packages as of this writing; libraries exist for many other languages, including C++, Go, Node.js, Erlang, and the JVM, all in various stages of maturity. The official collection of bindings can0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 centralized systems, every developer is a node working more or less equally with a central hub. In Git, however, every developer is potentially both a node and a hub; that is, every developer can both https://schacon-test.googlecode.com/svn Repository UUID: 4c93b258-373f-11de-be05-5f7a86268029 Revision: 87 Node Kind: directory Schedule: normal Last Changed Author: schacon Last Changed Rev: 87 Last Changed Date: bindings packages as of this writing; libraries exist for many other languages, including C++, Go, Node.js, Erlang, and the JVM, all in various stages of maturity. The official collection of bindings can0 码力 | 691 页 | 13.35 MB | 1 年前3
共 6 条
- 1













