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/
    以后再来学吧

  • 相关阅读:
    异常日志以及非异常日志记录方法
    oracle 监测数据库是否存在指定字段
    listview禁止双击一条之后选中复选框按钮的方法
    oracle 的rowid和rownum
    修改文件的名字的写法
    使用C#读取XML节点,修改XML节点
    BZOJ 1004: [HNOI2008]Cards
    P5022 旅行 (NOIP2018)
    P5021 赛道修建 (NOIP2018)
    P5020 货币系统 (NOIP2018)
  • 原文地址:https://www.cnblogs.com/itzxy/p/5618974.html
Copyright © 2011-2022 走看看