六个 / git-server
此软件包最新版本(1.0.3)没有可用的许可信息。
基于 Laravel 的 git 服务器
1.0.3
2019-06-20 02:20 UTC
This package is auto-updated.
Last update: 2024-09-20 13:35:56 UTC
README
基于 mysql、http、授权服务器的服务器
安装指南
- 安装
composer install six/git-server - 初始化表格
php artisan git:user init - 添加用户
php artisan git:user add tata@dr.h:123 - 添加仓库
php artisan git:server app1 - 从您的网站克隆它
git clone http://you-hosts/repos/app1.git0. 用户名是 tata@dr.h 0. 密码是 123 0. 用户可以进行clone、pull和push操作...
配置
默认配置请参阅 src/config/git.php,如需更改,请将其移动到您的配置路径