欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

【phabricator】工具的安装、使用

程序员文章站 2022-07-12 20:58:15
...

Phabricator 是一款用于敏捷开发的项目管理软件,它集成了众多实用功能,包括:
代码管理:添加 Git, Mercurial 和 SVN 仓库,查看源码,review 代码
bug 追踪:测试人员、开发人员协同工作
项目管理:项目的启动、进展、完成
工作板:所有任务一目了然
wiki:构建文档
任务系统:创建任务、指派任务、完成任务、增加或降低优先级
博客系统:甚至可以写博客

安装

docker 启动 参考文档

docker run \
    --rm -p 80:80 -p 443:443 -p 22:22 \
    --env PHABRICATOR_REPOSITORY_PATH=/repos \
    --env MYSQL_USER=root \
    --env MYSQL_HOST=mysql \
    --env MYSQL_PASS=123456 \
    --env MYSQL_PORT=3306 \
    --link mysql:mysql \
    -v /Users/jax/workspace/tools/phabricator/repo_path:/repos \
    redpointgames/phabricator

指定 mysql, 我这边本地起了mysql的docker, --link mysql:mysql, --env MYSQL_HOST=mysql 指定这俩参数

  • docker-compose 启动,。。。。直接看文档吧。

中文***

我这边网上找了几个,感觉翻译的不是很全,还是建议直接用英文。

***的补充:https://github.com/hitzhp/Phabricator_Chinese
添加步骤:

  1. phabricator docker 找到目录

【phabricator】工具的安装、使用

  1. 将php文件添加到对应目录下
    【phabricator】工具的安装、使用
  2. phabricator 后台选择中文

【phabricator】工具的安装、使用

退出后登录异常

Authentication Failure This Phabricator install is not configured with
any enabled authentication providers which can be used to log in. If
you have accidentally locked yourself out by disabling all providers,
you can use phabricator/bin/auth recover to recover access
to an administrative account.

问题描述以及解决办法: https://secure.phabricator.com/T8282
简单来说就是没指定phabricator的登录auth的认证方式,
解决步骤:
1,登录phabricator server, 允许账户临时登录

Recover your admin account with ./bin/auth recover (from
the command line of your Phabricator server)

docker 进入phabricator, 执行 ./bin/auth recover <username>

2,登录phabricator, 添加auth认证方式
【phabricator】工具的安装、使用

后续

后面慢慢补充其他的内容,代码管理,项目管理,博客格式等