部署GitHub加速访问服务

这是我的第一篇练手博客

FastGithub 介绍

github加速神器,解决github打不开、用户头像无法加载、releases无法上传下载、git-clone、git-pull、git-push失败等问题。

仓库地址

creazyboyone/FastGithub

部署方式

Windows

  • x64桌面UI
    • 双击运行FastGithub.UI.exe
  • x64自启服务
    下载后在文件夹内打开命令提示符输入以下指令
    • fastgithub.exe start // 以windows服务安装并启动
    • fastgithub.exe stop // 以windows服务卸载并删除

Linux

  • x64终端
    • sudo ./fastgithub
    • 设置系统自动代理为 http://127.0.0.1:38457,或手动代理 http/https 为 127.0.0.1:38457
  • x64服务
    • sudo ./fastgithub start // 以systemd服务安装并启动
    • sudo ./fastgithub stop // 以systemd服务卸载并删除
    • 设置系统自动代理为 http://127.0.0.1:38457,或手动代理 http/https 为 127.0.0.1:38457

docker-compose一键部署

  • 准备好docker 18.09, docker-compose.
  • 在源码目录下,有一个docker-compose.yaml 文件,专用于在实际项目中,临时使用github.com源码,而做的demo配置。
  • 根据自己的需要更新docker-compose.yaml中的sample和build镜像即可完成拉github.com源码加速,并基于源码做后续的操作。

练手结束