首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > windows >

初记Windows 下安装Review Board

2012-06-29 
小记Windows 下安装Review Board花了大半天的时候装了Review Board,尤其是最后一步比较辛苦,基本上是一点

小记Windows 下安装Review Board

花了大半天的时候装了Review Board,尤其是最后一步比较辛苦,基本上是一点点调试出来的,在这里记下,留给其他需要帮助的人。

?

1. 安装python 2.5?? python-2.5.4.msi??? 安装在C:\Python25

2. easy_install?????? setuptools-0.6c11.win32-py2.5.exe

3.设置环境变量???????? PATH=C:\ Python25;C:\ Python25\Scripts

4.patch工具??????????? patch-2.5.9-7-setup.exe?? 安装在C:\GnuWin32目录? 加System变量 PATH=C:\GnuWin32\bin

5.memcached工具? memcached-1.2.6-win32-bin.zip 运行 LoadModule python_module modules/mod_python.soDocumentRoot "C:/review/htdocs"# Error handlersErrorDocument 500 /errordocs/500.html# Serve django pages<Location "/r/">PythonHandler django.core.handlers.modpythonPythonAutoReload OffPythonDebug Off# Used to run multiple mod_python sites in the same apachePythonInterpreter reviewboard_review</Location># Serve static media without running it through mod_python# (overrides the above)<Location "/r/media">SetHandler None</Location><Location "/r/errordocs">SetHandler None</Location><Directory "c:/review">SetEnv DJANGO_SETTINGS_MODULE reviewboard.settingsSetEnv PYTHON_EGG_CACHE "C:/review/tmp/egg_cache"SetEnv HOME "C:/review/data" Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all SetHandler mod_python AddHandler mod_python .py PythonPath "['C:/review/conf'] + sys.path" PythonHandler django.core.handlers.modpython PythonDebug OnPythonInterpreter reviewboard_review</Directory># Alias static media requests to filesystemAlias /r/media "C:/review/htdocs/media"Alias /r/errordocs "C:/review/htdocs/errordocs"?

就能跑成功了 http://lcoalhost/r

?

如果想要更新 版本的话 可以执行下面的命令:

?

easy_install -U ReviewBoard==1.6.3rb-site upgrade C:/review   // review board version mismatch