(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/
之後再來學吧
php