安装参考

  • 安装 https://about.gitlab.com/installation/#centos
  • 配置 https://docs.gitlab.com/omnibus/settings/nginx.html

CI自动集成

示例

项目合并到master的tag提交文件自动上传到远程部署

 

名词概述

  • satis:
    http://docs.phpcomposer.com/articles/handling-private-packages-with-satis.html
  • 资源包:
    http://docs.phpcomposer.com/02-libraries.html
    http://docs.phpcomposer.com/04-schema.html
  • 资源库:
    http://docs.phpcomposer.com/05-repositories.html

外部dist包存储到私有资源库

statis配置

由于之前未定义require, autoload配置项,导致安装后无法安装相关依赖及配置psr4映射

让composer递归加载包

参考:
http://docs.phpcomposer.com/faqs/why-can%27t-composer-load-repositories-recursively.html

statis配置