CentOS安装Review board
来源:互联网 发布:淘宝300块的耐克 编辑:程序博客网 时间:2024/05/21 00:49
Review Board起源于VMware的一些开发者。它基于Django,你可以把它安装在自己的服务器上,工作流和Rietveld极为类似。令人高兴的是它提 供了在diffs里进行语法彩色编码,使得代码阅读变得简便。此外,它还实现了基于Lucene的搜索来帮助管理较大的diffs组。
Review Board在审查补丁(Patch)方面表现完美。一个叫做“提交审查”的工具被用来和SCM系统进行连接(当前支持SVN、CVS、Perforce、Git和Mercurial等),可以允许你请求一个将被提交的修改的审查。用户基础页面将这个过程描述如下:
你在本地检出的代码上做了些可怕的修改。你通过公布diff、编写描述和选择一些审查者来创建一个审查请求。你在审查请求中点击“发布”并等待你的审查者看到它。其他人看了你的审查请求,说道“这太可怕了,除非什么东西坏掉了。”你根据他们的评论更新了你的代码。你公布了更新后的diff,以及对他们评论的解答以指明你修改了什么(或者你要说明为什么你不打算按照他们的建议修改代码)。大家看了你更新后的代码,并请你继续。你将修改提交到仓库中。你在审查请求中点击“设置为已提交”来从其他人的面板中移除你的审查请求。
安装Review board
ReviewBoard支持的数据库有mysql, postgresql, sqllite3
,web服务器Apache + mod_wsgi, fastcgi
或lighttpd + fastcgi
yum install git svn yum install mysql-server mysql yum install httpd mod_wsgi yum install python-setuptools python-devel memcached patchyum install ReviewBoard#安装RBToolseasy_install -U RBTools#或者git clone git://github.com/reviewboard/rbtools.git cd rbtools sudo python setup.py install
创建mysql数据库
在创建数据库之前,确保使用utf-8编码格式, vi /etc/my.cnf
[client]default-character-set=utf8[mysqld]character-set-server=utf8
完成修改后启动或重启mysql
,service mysqld start
创建reviewboard数据库和用户
mysql -u root -pmysql> CREATE DATABASE reviewboard CHARACTER SET utf8;mysql> CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';mysql> GRANT ALL PRIVILEGES ON reviewboard.* to 'username'@'localhost';
初始化ReviewBoard
rb-site install /var/www/reviews.example.com* What database type will you be using? You can type either the name or the number from the list below. (1) mysql (2) postgresql (3) sqlite3 (not supported for production use)Database Type: mysql* What cache mechanism should be used? memcached is strongly recommended. Use it unless you have a good reason not to. You can type either the name or the number from the list below. (1) memcached (recommended) (2) fileCache Type: memcached* What web server will you be using? You can type either the name or the number from the list below. (1) apache (2) lighttpdWeb Server: 1* What Python loader module will you be using? Based on our experiences, we recommend using wsgi with Review Board. You can type either the name or the number from the list below. (1) wsgi (recommended) (2) fastcgi (3) modpython (no longer supported)Python Loader: wsgi#更改目录的用户为apachechown -R apache /var/www/reviews.example.com/htdocs/mediachown -R apache /var/www/reviews.example.com/data#由于apache-wsgi.conf是自动生成的,所以软连接到conf.d下cd /etc/httpd/conf.dln -s /var/www/reviews.example.com/conf/apache-wsgi.conf review-wsgi.conf
重启httpd服务
service httpd restart#防火墙开放80端口vi /etc/sysconfig/iptables-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
参照:
- http://www.oschina.net/p/review+board
- https://www.reviewboard.org/docs/manual/2.5/admin/installation/linux/
- creating-sites
- 在CentOS系统上搭建Reviewboard
0 0
- CentOS安装Review board
- review board 安装小结
- Windows 下安装Review Board
- CodeReivew工具 Review Board 安装使用札记
- Review Board安装和配置札记
- code review工具Review Board(一)-- 安装
- review board 安装和使用系列 ---(二)review board的安装
- review board 安装和使用系列 ---(三)创建新的 Review Board 站点
- Review Board Creating a Review Board Site
- Code Review : Review Board + Svn
- review board 安装和使用系列 ---(五)RBTools使用
- review board 安装和使用系列 ---(一)RB简介
- 协作利器:Review-Board
- Review Board中文支持
- Review Board 的使用
- Review Board Installing on Linux
- review board 安装和使用系列 ---(四)server配置及手动提交diff文件
- Review board 和 Git 配合使用 一
- 笔记
- 自己动手制作纯净版的WinPE
- 单例:app activity 单例模式管理类
- 电脑可以访问的网站,手机不能访问
- Python中的None与 NULL(即空字符)的区别
- CentOS安装Review board
- 时间类初始的一些细节
- IOS多线程之NSThread
- 防止表单重复提交 java
- 谈RESTAPI最佳实践
- iOS UITextField Placeholder color 占位符 字体 颜色
- w3wp占用CPU过高的解决过程(Dictionary和线程安全)
- 第一章:Mysql负载均衡与主从复制实验
- websocket 无法找到ws://localhost:8080/WebSocket/message