标签:
(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/
以后再来学吧
标签:
原文地址:http://www.cnblogs.com/itzxy/p/5618974.html