Gitea v1.21.1 中文文档${GOPATH//://bin:}/bin 添加到 $PATH 中。请参阅 Go 百科上关于 GOPATH 的词条。 接下来,安装 Node.js 和 npm, 这是构建 JavaScript 和 CSS 文件所需的。最低支持的 Node.js 版本是 16,建议使用最新的 LTS 版本。 注意:当执行需要外部工具的 make 任务(如 make misspell-check )时,Gitea PAM( Linux 可插拔认证模块)的支持。可用于对本地用户进行身份验证或扩展身份验证到 PAM 可用的方法。 gogit :(实验性功能)使用 go-git 变体的 Git 命令。 将所有资源(JS/CSS/模板等)打包到二进制文件中。在生产环境部署时,使用 bindata 构建标签是必需的。在开 发/测试 Gitea 或能够明确分离资源时,可以不用 bindata 。 要包含所有资源,请使用 sqlite_unlock_notify" make build build 目标分为两个子目标: make backend 需要 Go 1.20 或更高版本。 make frontend 需要 Node.js 16 或更高版本。 如果存在预构建的前端文件,可以仅构建后端: 1. TAGS="bindata" make backend 按照上述步骤完成后,工作目录中将会有一个 gitea 二进制文0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413SUBDIR ../ make[2]: `GIT-VERSION-FILE' is up to date. GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ Notice that you have to tell the command where to find your Git repositories 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 can be0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413SUBDIR ../ make[2]: `GIT-VERSION-FILE' is up to date. GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ Notice that you have to tell the command where to find your Git repositories 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 can be0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 SUBDIR ../ make[2]: `GIT-VERSION-FILE' is up to date. GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ Notice that you have to tell the command where to find your Git repositories 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 can be0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66SUBDIR ../ make[2]: `GIT-VERSION-FILE' is up to date. GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ 需要注意的是,你需要在命令中指定 GITWEB_PROJECTROOT 变量来让程序知道你的 Git 版本库的位置。 现 在,你需要在 使 用哪一种调用签名。 其它绑定 Libgit2 有很多种语言的绑定。 在这篇文章中,我们展现了一个使用了几个更加完整的绑定包的小例子,这些库 存在于许多种语言中,包括 C++、Go、Node.js、Erlang 以及 JVM ,它们的成熟度各不相同。 官方的绑定集合 可以通过浏览这个版本库得到: https://github.com/libgit2 。 我们写的代码将返回当前 HEAD 指向的提交的提0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66SUBDIR ../ make[2]: `GIT-VERSION-FILE' is up to date. GEN gitweb.cgi GEN static/gitweb.js $ sudo cp -Rf gitweb /var/www/ 需要注意的是,你需要在命令中指定 GITWEB_PROJECTROOT 变量来让程序知道 你的 Git 版本库的位置。 现在,你需要在 哪一种调用签名。 其它绑定 Libgit2 有很多种语言的绑定。 在这篇文章中,我们展现了一个使用了几个更 加完整的绑定包的小例子,这些库存在于许多种语言中,包括 C++、Go、 Node.js、Erlang 以及 JVM ,它们的成熟度各不相同。 官方的绑定集合可以 通过浏览这个版本库得到: https://github.com/libgit2 。 我们写的代码将返 回当前 HEAD0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1













