欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Phabricator
来自开放百科 - 灰狐
(版本间的差异)
小 (→Apache2) |
小 (→Apache2) |
||
第25行: | 第25行: | ||
==Apache2== | ==Apache2== | ||
apt-get install php5-fpm | apt-get install php5-fpm | ||
+ | vim /etc/apache2/sites-enabled/000-default | ||
+ | <VirtualHost *:80> | ||
+ | ServerName phabricator.huihoo.org | ||
+ | DocumentRoot /var/www/phabricator/webroot | ||
+ | RewriteEngine on | ||
+ | RewriteRule ^/rsrc/(.*) - [L,QSA] | ||
+ | RewriteRule ^/favicon.ico - [L,QSA] | ||
+ | RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA] | ||
+ | |||
+ | <Directory /var/www/phabricator/webroot> | ||
+ | Options Indexes FollowSymLinks MultiViews | ||
+ | AllowOverride None | ||
+ | Order allow,deny | ||
+ | allow from all | ||
+ | </Directory> | ||
+ | </VirtualHost> | ||
+ | vim /etc/huost | ||
+ | 192.168.1.2 phabricator.huihoo.org phabricator | ||
+ | /etc/init.d/apache2 restart | ||
+ | http://phabricator.huihoo.org/ | ||
==升级== | ==升级== |
2014年12月30日 (二) 09:36的版本
Phabricator: Open Source Software Engineering Platform.
Phabricator 是一款可以使软件开发者之间更容易进行协同工作的Web应用,由 Facebook 开发,采取 Apache 2 许可协议。
它是一个代码审查、仓库浏览、Bug追踪、Wiki工具,它以 Applications 的方式扩展其功能。
通过Phabricator导入研读源代码并写Commit也是一个学习的好方法。
Wikimedia 已经从 Bugzilla 迁移到 Phabricator.
目录 |
安装
git clone https://github.com/phacility/libphutil.git git clone https://github.com/phacility/arcanist.git git clone https://github.com/phacility/phabricator.git cd phabricator ./bin/config set mysql.host localhost ./bin/config set mysql.port 3306 ./bin/config set mysql.user root ./bin/config set mysql.pass password ./bin/storage upgrade php -S phabricator.huihoo.org:9000 -t phabricator/webroot/ phabricator/webroot/index.php http://phabricator.huihoo.org:9000 ok :)
预先、相关依赖安装请参考:Installation Guide
Apache2
apt-get install php5-fpm
vim /etc/apache2/sites-enabled/000-default
<VirtualHost *:80> ServerName phabricator.huihoo.org DocumentRoot /var/www/phabricator/webroot RewriteEngine on RewriteRule ^/rsrc/(.*) - [L,QSA] RewriteRule ^/favicon.ico - [L,QSA] RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
<Directory /var/www/phabricator/webroot> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost>
vim /etc/huost
192.168.1.2 phabricator.huihoo.org phabricator
/etc/init.d/apache2 restart
http://phabricator.huihoo.org/
升级
stop apache3 + php-fpm git pull in libphutil/, arcanist/ and phabricator/ phabricator/bin/storage upgrade restart apache2 + php-fpm
维护
./bin/phd start //启动后台进程 ./bin/storage upgrade // Upgrade MySQL Schema
升级脚本 http://www.phabricator.com/rsrc/install/update_phabricator.sh 建议大家先在测试环境下 update,也可参考一步步操作实验。
开发
文档
cd phabricator/ $ ./bin/diviner generate cd arcanist/ $ ./bin/diviner generate cd libphutil/ $ ./bin/diviner generate cd javelin/ $ ./bin/diviner generate
Redmine
Jenkins
Scrum
Phabricator 之 敏捷实践
DevOps
借助 Phabricator 通过 DevOps 促进开发(应用程序/软件工程)、技术运营和质量保障(QA)部门之间的沟通、协作与整合。
用户
- MediaWiki、Welcome to Phabricator, Wikimedia’s new collaboration platform
- Blender
- Facebook、新浪、知乎
- 灰狐
- Phabricator @ Haskell.org
图集
链接
分享您的观点