zoukankan      html  css  js  c++  java
  • phabricator

    (1)安装
    ./bitnami-phabricator-20160523-0-linux-x64-installer.run

    (2)中文
    phabricator-zh_CN.tar解压缩到
    /opt/phabricator-20160523-0/apps/phabricator/htdocs/src/extensions
    配置页面,账户设置选择中文
    http://192.168.0.101/settings/panel/account/

    (3) 解决site not found
    /opt/phabricator-20160523-0/apps/phabricator/htdocs/bin/config set phabricator.allowed-uris '["http://192.168.0.101"]'
    实际对应修改的文件
    /opt/phabricator-20160523-0/apps/phabricator/htdocs/conf/local/local.json
    ---------------------------------------------------------
      "phabricator.allowed-uris": [
        "http://192.168.0.101"
      ],
    ---------------------------------------------------------

    (4)设置hostname
    安装时如果选择了127.0.0.1则只能本机访问
    https://wiki.bitnami.com/Applications/Bitnami_Phabricator
    How to change the default hostname of the application?
    ./bnconfig --machine_hostname 192.168.0.101
    或者用config
    /opt/phabricator-20160523-0/apps/phabricator/htdocs/bin/config set phabricator.base-uri 192.168.0.101
    对应
    /opt/phabricator-20160523-0/apps/phabricator/htdocs/conf/local/local.json
    ---------------------------------------------------------
      "phabricator.base-uri": "http://192.168.0.101:80",
    ---------------------------------------------------------

    (5)设置邮箱
    ./config set metamta.mail-adapter PhabricatorMailImplementationPHPMailerAdapter
    ./config set phpmailer.mailer smtp
    ./config set phpmailer.smtp-host smtp.126.com
    ./config set phpmailer.smtp-port 25
    ./config set phpmailer.smtp-user zxycscj
    ./config set phpmailer.smtp-password yaffsafj*0o
    ./config set phpmailer.smtp-protocol ssl
        phpmailer.smtp-encoding: Normally safe to leave as the default, but adjusting it may help resolve mail mangling issues (for example, mail arriving with too many or too few newlines)

    (6)arc
    /opt/phabricator-20160523-0/apps/phabricator/arcanist/bin
    配置arc
    ~/.arcrc
    配置默认的phabricator的uri,uri为团队的phabricator主页的url
    bash-4.2# arc set-config default http://192.168.0.101
    Set key 'default' = "http://192.168.0.101" in user config (was "http://192.168.0.101").
    bash-4.2# cat .arcrc
    {
      "config": {
        "default": "http://192.168.0.101"
      }
    }

    arc是用来将工程与phabricator连接起来的工具
    开发团队部署
        phabricator安装在服务器,
        开发者生产环境上安装arc,并配置将当前环境与phabricator连接
        开发者提交代码

    arc是在提交代码前的reviewer.
    搞不定了。
    Arcanist和phabricator太难用了
    放弃了

    感觉不是那么直观。文档也不全
    https://secure.phabricator.com/diviner/
    以后再来学吧

  • 相关阅读:
    wcf简单的创建和运用
    关于DevExpress的gridControl的简单使用
    泛型 Field 和 SetField 方法 (LINQ to DataSet)
    【转】string.Format对C#字符串格式化
    ashx实现文件下载以及文件MD5码测试
    【转】10分钟了解设计模式(C#)
    [转]Jquery中AJAX错误信息调试参考
    搭建Harbor docker镜像仓库
    安装python3.x
    shell替换
  • 原文地址:https://www.cnblogs.com/itzxy/p/5618974.html
Copyright © 2011-2022 走看看